summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/defines.h1
-rw-r--r--src/object2.cc8
2 files changed, 0 insertions, 9 deletions
diff --git a/src/defines.h b/src/defines.h
index 0479c2aa..76c1ccc7 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4394,7 +4394,6 @@
#define HOOK_LOAD_END 61
#define HOOK_RECALL 62
#define HOOK_BODY_PARTS 65
-#define HOOK_APPLY_MAGIC 66
#define HOOK_PLAYER_EXP 67
#define HOOK_BIRTH 68
#define HOOK_MON_ASK_HELP 69
diff --git a/src/object2.cc b/src/object2.cc
index 4a3f295c..f1186291 100644
--- a/src/object2.cc
+++ b/src/object2.cc
@@ -2598,8 +2598,6 @@ static void a_m_aux_1(object_type *o_ptr, int level, int power)
}
/* Some special cases */
- if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power))
- return;
switch (o_ptr->tval)
{
case TV_TRAPKIT:
@@ -2745,8 +2743,6 @@ static void a_m_aux_2(object_type *o_ptr, int level, int power)
}
/* Analyze type */
- if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power))
- return;
switch (o_ptr->tval)
{
case TV_CLOAK:
@@ -2828,8 +2824,6 @@ static void a_m_aux_3(object_type *o_ptr, int level, int power)
}
/* Apply magic (good or bad) according to type */
- if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power))
- return;
switch (o_ptr->tval)
{
case TV_RING:
@@ -3312,8 +3306,6 @@ static void a_m_aux_4(object_type *o_ptr, int level, int power)
}
/* Apply magic (good or bad) according to type */
- if (process_hooks(HOOK_APPLY_MAGIC, "(O,d,d)", o_ptr, level, power))
- return;
switch (o_ptr->tval)
{
case TV_BOOK: