diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 93088eff46..c323ae53ac 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2342,7 +2342,7 @@ void gain_exp( unsigned int exp_gained ) tutorial_finished(); } // end gain_exp() -void level_change(void) +void level_change(bool skip_ability_increase) { int hp_adjust = 0; int mp_adjust = 0; @@ -2384,7 +2384,7 @@ void level_change(void) inc_hp( brek, true ); inc_mp( 1, true ); - if (!(you.experience_level % 3)) + if (!(you.experience_level % 3) && !skip_ability_increase) ability_increase(); switch (you.species) |