summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-21 15:31:25 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:55 +0100
commit37035fd9f3fee66108dbc7af72ed6e8d71acc8fa (patch)
tree1b54a04fd5d944fa205e0cdb4ce4111268da291e
parent6dcbbd90d7fe7b041d431491dacf8c5b8ded38e2 (diff)
Remove unused HOOK_FIRE
-rw-r--r--src/defines.h1
-rw-r--r--src/dungeon.cc3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/defines.h b/src/defines.h
index 1345bea8..0479c2aa 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4387,7 +4387,6 @@
#define HOOK_GET 50
#define HOOK_RECALC_SKILLS 52
#define HOOK_ENTER_DUNGEON 53
-#define HOOK_FIRE 54
#define HOOK_EAT 55
#define HOOK_DIE 56
#define HOOK_CALC_HP 57
diff --git a/src/dungeon.cc b/src/dungeon.cc
index db3c4633..8a014fe4 100644
--- a/src/dungeon.cc
+++ b/src/dungeon.cc
@@ -4007,9 +4007,6 @@ static void process_command(void)
j_ptr = &p_ptr->inventory[INVEN_BOW];
- if (process_hooks(HOOK_FIRE, "(O)", j_ptr))
- break;
-
if (j_ptr->tval == TV_BOOMERANG)
{
do_cmd_boomerang();