summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-19 01:38:43 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:55 +0100
commitad7d95740f774249168d3059672c69dada680127 (patch)
tree540200342b7aa7e3d71c068485605e3395085021 /src/generate.cc
parent5633ea7c94d1f2eec8b712071548d0879b315ac6 (diff)
Update HOOK_BUILD_ROOM1 to new-style hook
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/generate.cc b/src/generate.cc
index d215ea4e..55abf670 100644
--- a/src/generate.cc
+++ b/src/generate.cc
@@ -6782,7 +6782,10 @@ bool_ level_generate_dungeon()
}
/* Ugly */
- process_hooks(HOOK_BUILD_ROOM1, "(d,d)", y, x);
+ {
+ struct hook_build_room1_in in = { y, x };
+ process_hooks_new(HOOK_BUILD_ROOM1, &in, NULL);
+ }
/* Build some rooms */
for (i = 0; i < DUN_ROOMS; i++)