diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:04:28 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | 2ae865768c1e0d575993f135f9b4fad3eeedc0b0 (patch) | |
tree | e3f4761222059f0a3433dcb617e8e7541c941397 /src/bldg.cc | |
parent | 2eb7c8238062869ebad3945a72bb9da74e6adc1f (diff) |
Update HOOK_QUEST_FAIL 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 d048498c..15d99fb0 100644 --- a/src/bldg.cc +++ b/src/bldg.cc @@ -858,7 +858,8 @@ static bool_ castle_quest(int y, int x) /* Mark quest as done (but failed) */ q_ptr->status = QUEST_STATUS_FAILED_DONE; - process_hooks(HOOK_QUEST_FAIL, "(d)", plots[plot]); + hook_quest_fail_in in = { plots[plot] }; + process_hooks_new(HOOK_QUEST_FAIL, &in, NULL); return (FALSE); } |