summaryrefslogtreecommitdiff
path: root/src/xtra2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xtra2.c')
-rw-r--r--src/xtra2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xtra2.c b/src/xtra2.c
index d78858b3..1569f442 100644
--- a/src/xtra2.c
+++ b/src/xtra2.c
@@ -2099,7 +2099,13 @@ 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);
+ }
}
+
/*
* Advance experience levels and print experience
*/