diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:40:08 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | 768843efc4d25c0b294a2156d9819aa905f47d65 (patch) | |
tree | 9ad4caf633f00ede266fdbeb446e42b6ca2b899e /src/xtra2.cc | |
parent | 7533517d633336e9a6b3edd261974ac788198acb (diff) |
Remove unused HOOK_PLAYER_EXP
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r-- | src/xtra2.cc | 6 |
1 files changed, 0 insertions, 6 deletions
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(); } |