summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-19 01:08:57 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commitf27d61944eba70b619a8ab31f4dba10f8e874a94 (patch)
treeec5041cd385d0ae940d48f21e65cae0ff4c9cafe /src/generate.cc
parent0ff3645a99ce2ba66e8309c0d34d7a7b2ad5ef51 (diff)
Update HOOK_{LEVEL_REGEN,NEW_LEVEL} to new-style hook
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc2
1 files changed, 1 insertions, 1 deletions
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;