diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:34:23 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | 76497637d54dc3e185a1ca1e7a9d0db5350f2d16 (patch) | |
tree | a0086daa9302ad4f0d009e229b80ec9d1123d2e2 /src/object2.cc | |
parent | 741db2f0e31624b64d6887e9765109281af800a2 (diff) |
Remove unused HOOK_APPLY_MAGIC
Diffstat (limited to 'src/object2.cc')
-rw-r--r-- | src/object2.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/object2.cc b/src/object2.cc index 4a3f295c..f1186291 100644 --- a/src/object2.cc +++ b/src/object2.cc @@ -2598,8 +2598,6 @@ static void a_m_aux_1(object_type *o_ptr, int level, int power) } /* Some special cases */ - if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power)) - return; switch (o_ptr->tval) { case TV_TRAPKIT: @@ -2745,8 +2743,6 @@ static void a_m_aux_2(object_type *o_ptr, int level, int power) } /* Analyze type */ - if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power)) - return; switch (o_ptr->tval) { case TV_CLOAK: @@ -2828,8 +2824,6 @@ static void a_m_aux_3(object_type *o_ptr, int level, int power) } /* Apply magic (good or bad) according to type */ - if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power)) - return; switch (o_ptr->tval) { case TV_RING: @@ -3312,8 +3306,6 @@ static void a_m_aux_4(object_type *o_ptr, int level, int power) } /* Apply magic (good or bad) according to type */ - if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power)) - return; switch (o_ptr->tval) { case TV_BOOK: |