summaryrefslogtreecommitdiff
path: root/src/q_rand.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commitd9d9d8c5e96eadbefb2c8506a387fc282c2fe8b5 (patch)
tree68703ceab317a82e4a880ae2db563312ae39e77a /src/q_rand.cc
parent639976ed95b8031cfde1f64e85b5efdeba417164 (diff)
Remove unused "quest_idx" parameter from quest_type::init()
Diffstat (limited to 'src/q_rand.cc')
-rw-r--r--src/q_rand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/q_rand.cc b/src/q_rand.cc
index e48fec98..1fed570e 100644
--- a/src/q_rand.cc
+++ b/src/q_rand.cc
@@ -646,7 +646,7 @@ std::string quest_random_describe()
return w.str();
}
-bool_ quest_random_init_hook(int q_idx)
+bool_ quest_random_init_hook()
{
add_hook_new(HOOK_MONSTER_DEATH, quest_random_death_hook, "rand_death", NULL);
add_hook_new(HOOK_NEW_LEVEL, quest_random_turn_hook, "rand_new_lvl", NULL);