diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:36:37 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | 7533517d633336e9a6b3edd261974ac788198acb (patch) | |
tree | 03c9135305c64c05dbc0d6ea71d0a55701715de3 | |
parent | 8bd2ec1ea3385e53dcf8aad90e32498a622ed0b1 (diff) |
Remove unused HOOK_ACTIVATE_DESC
-rw-r--r-- | src/defines.h | 1 | ||||
-rw-r--r-- | src/object1.cc | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/defines.h b/src/defines.h index e29c80a9..3b4a2083 100644 --- a/src/defines.h +++ b/src/defines.h @@ -4373,7 +4373,6 @@ #define HOOK_CHAT 32 #define HOOK_MON_SPEAK 33 #define HOOK_BIRTH_OBJECTS 35 -#define HOOK_ACTIVATE_DESC 36 #define HOOK_INIT_GAME 37 #define HOOK_ACTIVATE_POWER 38 #define HOOK_SAVE_GAME 40 diff --git a/src/object1.cc b/src/object1.cc index e83bb9aa..e53f1cf3 100644 --- a/src/object1.cc +++ b/src/object1.cc @@ -2515,9 +2515,6 @@ cptr item_activation(object_type *o_ptr, byte num) } } - if (process_hooks_ret(HOOK_ACTIVATE_DESC, "s", "(O)", o_ptr)) - return (process_hooks_return[0].str); - return activation_aux(o_ptr, FALSE, 0); } |