diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:27:44 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | cbc0dcecffb9cf29708b1c1c4e60df49a1994add (patch) | |
tree | 9d348ed90d4cad5e5174c7b3f094445a849d5f69 /src/bldg.cc | |
parent | 2ae865768c1e0d575993f135f9b4fad3eeedc0b0 (diff) |
Update HOOK_QUEST_FINISH to new-style hook
Diffstat (limited to 'src/bldg.cc')
-rw-r--r-- | src/bldg.cc | 3 |
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); } |