diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-18 23:46:28 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:54 +0100 |
commit | 752611806d109d182227c22354bd380899ba5d67 (patch) | |
tree | bdf9d58d8b65fed83266d3d94b9cb8892e8b635e /src/spells2.cc | |
parent | 471e7819c6af3b3513770d0784aed22cb5597da7 (diff) |
Update HOOK_IDENTIFY to new-style hook
Diffstat (limited to 'src/spells2.cc')
-rw-r--r-- | src/spells2.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/spells2.cc b/src/spells2.cc index cbb55ecd..4a93b518 100644 --- a/src/spells2.cc +++ b/src/spells2.cc @@ -372,12 +372,8 @@ void identify_hooks(int i, object_type *o_ptr, identify_mode mode) } /* Process the appropriate hooks */ - process_hooks(HOOK_IDENTIFY, "(d,s)", i, mode_s); - - { - hook_identify_in in = { o_ptr, mode }; - process_hooks_new(HOOK_IDENTIFY, &in, NULL); - } + hook_identify_in in = { o_ptr, mode }; + process_hooks_new(HOOK_IDENTIFY, &in, NULL); } |