From f27d61944eba70b619a8ab31f4dba10f8e874a94 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Fri, 19 Dec 2014 01:08:57 +0100 Subject: Update HOOK_{LEVEL_REGEN,NEW_LEVEL} to new-style hook --- src/generate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/generate.cc') diff --git a/src/generate.cc b/src/generate.cc index 09bd0160..d215ea4e 100644 --- a/src/generate.cc +++ b/src/generate.cc @@ -8273,7 +8273,7 @@ static void wipe_special_level(void) /* No special levels on the surface */ if (!dun_level) return; - process_hooks(HOOK_LEVEL_REGEN, "()"); + process_hooks_new(HOOK_LEVEL_REGEN, NULL, NULL); /* Calculate relative depth */ level = dun_level - d_info[dungeon_type].mindepth; -- cgit v1.2.3