diff options
-rw-r--r-- | src/defines.h | 1 | ||||
-rw-r--r-- | src/xtra2.cc | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/defines.h b/src/defines.h index 3b4a2083..08f8b2a7 100644 --- a/src/defines.h +++ b/src/defines.h @@ -4392,7 +4392,6 @@ #define HOOK_LOAD_END 61 #define HOOK_RECALL 62 #define HOOK_BODY_PARTS 65 -#define HOOK_PLAYER_EXP 67 #define HOOK_BIRTH 68 #define HOOK_MON_ASK_HELP 69 #define HOOK_LEARN_ABILITY 70 diff --git a/src/xtra2.cc b/src/xtra2.cc index ef1ccf64..19ac33e7 100644 --- a/src/xtra2.cc +++ b/src/xtra2.cc @@ -2212,9 +2212,6 @@ void gain_exp(s32b amount) /* Gain some experience */ p_ptr->exp += amount / num; - /* Hook it! */ - process_hooks(HOOK_PLAYER_EXP, "(d)", amount / num); - /* Slowly recover from experience drainage */ if (p_ptr->exp < p_ptr->max_exp) { @@ -2238,9 +2235,6 @@ void lose_exp(s32b amount) /* Lose some experience */ p_ptr->exp -= amount; - /* Hook it! */ - process_hooks(HOOK_PLAYER_EXP, "(d)", amount); - /* Check Experience */ check_experience(); } |