diff options
-rw-r--r-- | src/birth.cc | 2 | ||||
-rw-r--r-- | src/q_god.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/birth.cc b/src/birth.cc index cc42f758..d09e8754 100644 --- a/src/birth.cc +++ b/src/birth.cc @@ -1238,7 +1238,7 @@ static void player_outfit(void) player_gain_corruption(CORRUPT_VAMPIRE_VAMPIRE); } - process_hooks(HOOK_BIRTH_OBJECTS, "()"); + process_hooks_new(HOOK_BIRTH_OBJECTS, NULL, NULL); meta_inertia_control_hook_birth_objects(); { diff --git a/src/q_god.cc b/src/q_god.cc index 028e8fdb..a6fd9918 100644 --- a/src/q_god.cc +++ b/src/q_god.cc @@ -1158,7 +1158,7 @@ static bool_ quest_god_stair_hook(void *, void *, void *) return FALSE; } -static bool_ quest_god_birth_objects_hook(const char *fmt) +static bool_ quest_god_birth_objects_hook(void *, void *, void *) { cquest_quests_given = 0; cquest_relics_found = 0; @@ -1188,7 +1188,7 @@ bool_ quest_god_init_hook(int q) /* Need this to re-initialize at birth; the quest data is * zeroed which isn't quite right. */ - add_hook(HOOK_BIRTH_OBJECTS, quest_god_birth_objects_hook, "q_god_birth_objects"); + add_hook_new(HOOK_BIRTH_OBJECTS, quest_god_birth_objects_hook, "q_god_birth_objects", NULL); return FALSE; } |