diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:29:19 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | 6dcbbd90d7fe7b041d431491dacf8c5b8ded38e2 (patch) | |
tree | 8021474293771ae68eca00f2e3462463db391546 | |
parent | cbc0dcecffb9cf29708b1c1c4e60df49a1994add (diff) |
Remove unused HOOK_KEYPRESS
-rw-r--r-- | src/defines.h | 1 | ||||
-rw-r--r-- | src/dungeon.cc | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/defines.h b/src/defines.h index a828e23a..1345bea8 100644 --- a/src/defines.h +++ b/src/defines.h @@ -4370,7 +4370,6 @@ #define HOOK_ACTIVATE 26 #define HOOK_ZAP 27 #define HOOK_CALC_POWERS 30 -#define HOOK_KEYPRESS 31 #define HOOK_CHAT 32 #define HOOK_MON_SPEAK 33 #define HOOK_BIRTH_OBJECTS 35 diff --git a/src/dungeon.cc b/src/dungeon.cc index 689998f2..db3c4633 100644 --- a/src/dungeon.cc +++ b/src/dungeon.cc @@ -3447,9 +3447,6 @@ static void process_command(void) /* Handle repeating the last command */ repeat_check(); - /* Process the appropriate hooks */ - if (process_hooks(HOOK_KEYPRESS, "(d)", command_cmd)) return; - /* Parse the command */ switch (command_cmd) { |