summaryrefslogtreecommitdiff
path: root/src/bldg.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-21 15:27:44 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:55 +0100
commitcbc0dcecffb9cf29708b1c1c4e60df49a1994add (patch)
tree9d348ed90d4cad5e5174c7b3f094445a849d5f69 /src/bldg.cc
parent2ae865768c1e0d575993f135f9b4fad3eeedc0b0 (diff)
Update HOOK_QUEST_FINISH to new-style hook
Diffstat (limited to 'src/bldg.cc')
-rw-r--r--src/bldg.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bldg.cc b/src/bldg.cc
index 15d99fb0..9875a264 100644
--- a/src/bldg.cc
+++ b/src/bldg.cc
@@ -838,7 +838,8 @@ static bool_ castle_quest(int y, int x)
/* Rewarded quest */
q_ptr->status = QUEST_STATUS_FINISHED;
- process_hooks(HOOK_QUEST_FINISH, "(d)", plots[plot]);
+ struct hook_quest_finish_in in = { plots[plot] };
+ process_hooks_new(HOOK_QUEST_FINISH, &in, NULL);
return (TRUE);
}