summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-18 23:10:14 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commit359bb049bd1ce54bf099409d8f96ce614f211c6e (patch)
treea01741646cd50d9e02435ad115b77b5f690a5f1f
parentdc264e9c38018c5e7470c0905e7c95214ba88e6c (diff)
Remove unused HOOK_MOVED
-rw-r--r--src/cmd1.cc3
-rw-r--r--src/defines.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/cmd1.cc b/src/cmd1.cc
index a865a10f..67d5db9b 100644
--- a/src/cmd1.cc
+++ b/src/cmd1.cc
@@ -3383,9 +3383,6 @@ void move_player_aux(int dir, int do_pickup, int run, bool_ disarm)
else
feat = cave[p_ptr->py][p_ptr->px].feat;
- /* Some hooks */
- if (process_hooks(HOOK_MOVED, "(d,d)", oy, ox)) return;
-
/* Redraw new spot */
lite_spot(p_ptr->py, p_ptr->px);
diff --git a/src/defines.h b/src/defines.h
index 26375672..66529ae4 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4402,7 +4402,6 @@
#define HOOK_BIRTH 68
#define HOOK_MON_ASK_HELP 69
#define HOOK_LEARN_ABILITY 70
-#define HOOK_MOVED 71
#define HOOK_GAME_START 72
#define HOOK_TAKEOFF 73
#define HOOK_CALC_WEIGHT 74