diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 17:10:39 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 17:10:39 +0000 |
commit | 67724d484da0b713fd77ba6545ab6d285620f9d7 (patch) | |
tree | 3c1ff0a4ae98b95a6b48dfc1cb657feab4577f8d /crawl-ref/source/ouch.cc | |
parent | ddef47a325eac7cb2b3e7886924ad8df969fb297 (diff) | |
download | crawl-ref-67724d484da0b713fd77ba6545ab6d285620f9d7.tar.gz crawl-ref-67724d484da0b713fd77ba6545ab6d285620f9d7.zip |
Redraw the player's experience level in the right place.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6255 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 0ba00752e0..7f61b825bf 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -666,7 +666,9 @@ void lose_level() you.hp, you.hp_max, you.magic_points, you.max_magic_points); take_note(Note(NOTE_XP_LEVEL_CHANGE, you.experience_level, 0, buf)); + redraw_skill(you.your_name, player_title()); you.redraw_experience = true; + xom_is_stimulated(255); } @@ -736,10 +738,7 @@ void drain_exp(bool announce_full) you.redraw_experience = true; if (you.experience < exp_needed(you.experience_level + 1)) - { lose_level(); - redraw_skill(you.your_name, player_title()); - } } } |