summaryrefslogtreecommitdiff
path: root/src/wild.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-18 21:56:53 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commit132e99238140b1628a2f0175a6edc85358fe8101 (patch)
tree5d9634281e95d71a28451c78a50b59cec702b003 /src/wild.cc
parente190564a0791cef0ac7a8393d23643af7d1be3cb (diff)
Update HOOK_WILD_GEN to new-style hook
Diffstat (limited to 'src/wild.cc')
-rw-r--r--src/wild.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wild.cc b/src/wild.cc
index 8719a53a..a44fa4d5 100644
--- a/src/wild.cc
+++ b/src/wild.cc
@@ -535,7 +535,8 @@ void wilderness_gen(int refresh)
}
}
- process_hooks(HOOK_WILD_GEN, "(d)", FALSE);
+ struct hook_wild_gen_in in = { FALSE };
+ process_hooks_new(HOOK_WILD_GEN, &in, NULL);
}
/*
@@ -603,7 +604,8 @@ void wilderness_gen_small()
}
}
- process_hooks(HOOK_WILD_GEN, "(d)", TRUE);
+ struct hook_wild_gen_in in = { TRUE };
+ process_hooks_new(HOOK_WILD_GEN, &in, NULL);
}
/* Show a small radius of wilderness around the player */