diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-05-08 18:59:59 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-05-08 20:15:58 +0200 |
commit | 6ef98743b002c48fb3bf720fb07936e34926b313 (patch) | |
tree | b834dbbc9501533a29e612d9594c72e749105766 /src/birth.c | |
parent | 4275c9d3e7a44080997fce9974d442ba4f9f4a54 (diff) |
Lua: Move "Meta" spell functions to C
Diffstat (limited to 'src/birth.c')
-rw-r--r-- | src/birth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/birth.c b/src/birth.c index 274b50bf..aaef998c 100644 --- a/src/birth.c +++ b/src/birth.c @@ -1038,6 +1038,9 @@ static void player_wipe(void) /* No companions killed */ p_ptr->companion_killed = 0; + + /* Inertia control */ + p_ptr->inertia_controlled_spell = -1; } @@ -1241,6 +1244,7 @@ static void player_outfit(void) } process_hooks(HOOK_BIRTH_OBJECTS, "()"); + meta_inertia_control_hook_birth_objects(); { /* Hack -- Give the player some food */ |