summaryrefslogtreecommitdiff
path: root/src/monster2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-06-11 06:22:17 +0200
committerBardur Arantsson <bardur@scientician.net>2012-06-11 18:28:53 +0200
commitc44efd43a83a5e6b2b696471fd46277cfd860518 (patch)
tree5c7463782da857a019359ca13f86c97dd58090e2 /src/monster2.c
parentc40dff568a06733793a2351c9c172c180f7be542 (diff)
Lua: Move Theme's racial alignment to C
Diffstat (limited to 'src/monster2.c')
-rw-r--r--src/monster2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monster2.c b/src/monster2.c
index b0753244..cdef75d4 100644
--- a/src/monster2.c
+++ b/src/monster2.c
@@ -2657,6 +2657,12 @@ s16b place_monster_one(int y, int x, int r_idx, int ego, bool_ slp, int status)
place_monster_one_race = NULL;
+ /* Processs hooks */
+ {
+ hook_new_monster_end_in in = { m_ptr };
+ process_hooks_new(HOOK_NEW_MONSTER_END, &in, NULL);
+ }
+
/* Success */
place_monster_result = c_ptr->m_idx;
return c_ptr->m_idx;