diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-06-09 09:13:17 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-06-09 09:19:03 +0200 |
commit | 6763d205ca391d8a4c1544afbcfceddf5ec54c77 (patch) | |
tree | fef1319ddb214ff58de8512e13d8f8c9c03a9d3f /src/spells1.c | |
parent | 3e79a19e687364bf7022ca91ee02978e504093fd (diff) |
Lua: Add new-style hook support for HOOK_IDENTIFY
Diffstat (limited to 'src/spells1.c')
-rw-r--r-- | src/spells1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spells1.c b/src/spells1.c index ccd9f489..e82d708a 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -4151,7 +4151,7 @@ static bool_ project_o(int who, int r, int y, int x, int dam, int typ) o_ptr->ident |= (IDENT_MENTAL); /* Process the appropriate hooks */ - process_hooks(HOOK_IDENTIFY, "(d,s)", 0 - this_o_idx, "full"); + identify_hooks(0 - this_o_idx, o_ptr, IDENT_FULL); /* Squelch ! */ squeltch_grid(); @@ -4164,7 +4164,7 @@ static bool_ project_o(int who, int r, int y, int x, int dam, int typ) object_known(o_ptr); /* Process the appropriate hooks */ - process_hooks(HOOK_IDENTIFY, "(d,s)", 0 - this_o_idx, "normal"); + identify_hooks(0 - this_o_idx, o_ptr, IDENT_NORMAL); /* Squelch ! */ squeltch_grid(); |