From cd8b290134a2528a12fa775d69728ca494b690ac Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sun, 21 Dec 2014 15:55:06 +0100 Subject: Remove unused HOOK_ACTIVATE --- src/cmd6.cc | 6 ------ src/defines.h | 1 - 2 files changed, 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 -- cgit v1.2.3