summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-21 16:15:40 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-21 16:15:40 +0000
commitb17182f59fdb23979c9dbd910f57b0ec5675c5c9 (patch)
treea3d525959ef1fbb71de217d9bda6a51fc4793e30 /crawl-ref/source/output.cc
parent412b189793a250f3233178b1bde1f17a085a73c3 (diff)
downloadcrawl-ref-b17182f59fdb23979c9dbd910f57b0ec5675c5c9.tar.gz
crawl-ref-b17182f59fdb23979c9dbd910f57b0ec5675c5c9.zip
Fix for 2022236: HP bar could be blanked out when gaining XP. [Thanks sorear]
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6624 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 92963b99ec..9190fd7529 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -25,6 +25,7 @@
#include "abl-show.h"
#include "branch.h"
+#include "cio.h"
#include "describe.h"
#include "directn.h"
#include "format.h"
@@ -959,11 +960,10 @@ void redraw_skill(const std::string &your_name, const std::string &class_name)
// Level N Minotaur [of God]
textcolor( YELLOW );
cgotoxy(1, 2, GOTO_STAT);
- cprintf("Level %d %s",
- you.experience_level,
- species_name( you.species, you.experience_level ).c_str());
+ nowrap_eol_cprintf("Level %d %s", you.experience_level,
+ species_name(you.species,you.experience_level).c_str());
if (you.religion != GOD_NO_GOD)
- cprintf(" of %s", god_name(you.religion).c_str());
+ nowrap_eol_cprintf(" of %s", god_name(you.religion).c_str());
clear_to_end_of_line();
textcolor( LIGHTGREY );