summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd2.cc6
-rw-r--r--src/defines.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/cmd2.cc b/src/cmd2.cc
index 38f7ac1d..b9b392f0 100644
--- a/src/cmd2.cc
+++ b/src/cmd2.cc
@@ -1195,9 +1195,6 @@ void do_cmd_open(void)
}
}
- /* Process the appropriate hooks */
- process_hooks(HOOK_OPEN, "(d)", is_quest(dun_level));
-
/* Cancel repeat unless we may continue */
if (!more) disturb(0);
}
@@ -1878,9 +1875,6 @@ bool_ easy_open_door(int y, int x)
/* Sound */
sound(SOUND_OPENDOOR);
- /* Process the appropriate hooks */
- process_hooks(HOOK_OPEN, "(d)", is_quest(dun_level));
-
/* Experience */
gain_exp(1);
}
diff --git a/src/defines.h b/src/defines.h
index 4495c499..b9efeca4 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4343,7 +4343,6 @@
* Hooks
*/
#define HOOK_MONSTER_DEATH 0
-#define HOOK_OPEN 1
#define HOOK_GEN_QUEST 2
#define HOOK_END_TURN 3
#define HOOK_FEELING 4