summaryrefslogtreecommitdiff
path: root/src/xtra2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-21 14:59:48 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:55 +0100
commit2eb7c8238062869ebad3945a72bb9da74e6adc1f (patch)
treec0ee40e6ef2ae56066f1c8fb4a0f3423fe741d26 /src/xtra2.cc
parent6a53f3f3030d47bdf7ad023e56ab098963d5e00f (diff)
Update HOOK_PLAYER_LEVEL to new-style hook
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r--src/xtra2.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc
index 46c04453..ef1ccf64 100644
--- a/src/xtra2.cc
+++ b/src/xtra2.cc
@@ -2124,8 +2124,6 @@ void check_experience(void)
}
/* Hook it! */
- process_hooks(HOOK_PLAYER_LEVEL, "(d)", gained);
-
{
hook_player_level_in in = { gained };
process_hooks_new(HOOK_PLAYER_LEVEL, &in, NULL);