summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-21 15:55:06 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:56 +0100
commitcd8b290134a2528a12fa775d69728ca494b690ac (patch)
tree5c915f4bb3585293bccccc9c558cb97c8dc08fff /src
parent8573d1edd322fe27e88e1280128afc4da658043c (diff)
Remove unused HOOK_ACTIVATE
Diffstat (limited to 'src')
-rw-r--r--src/cmd6.cc6
-rw-r--r--src/defines.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/cmd6.cc b/src/cmd6.cc
index 500829f3..e16f14b9 100644
--- a/src/cmd6.cc
+++ b/src/cmd6.cc
@@ -4910,12 +4910,6 @@ void do_cmd_activate(void)
/* Sound */
sound(SOUND_ZAP);
- /* Lua hook ? -- go first to allow lua to override */
- if (process_hooks(HOOK_ACTIVATE, "(d)", item))
- {
- return;
- }
-
/* New mostly unified activation code
This has to be early to allow artifacts to override normal items -- neil */
diff --git a/src/defines.h b/src/defines.h
index 74d1bd8b..6723ef28 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4366,7 +4366,6 @@
#define HOOK_NEW_MONSTER_END 22
#define HOOK_AIM 24
#define HOOK_USE 25
-#define HOOK_ACTIVATE 26
#define HOOK_CHAT 32
#define HOOK_MON_SPEAK 33
#define HOOK_BIRTH_OBJECTS 35