diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 16:50:56 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 16:50:56 +0000 |
commit | ddef47a325eac7cb2b3e7886924ad8df969fb297 (patch) | |
tree | 591a642965e2f5f23d0fe9ba1ecacb60527bdc72 /crawl-ref/source/output.cc | |
parent | 760579ccd2bbf5599dd615f57d04de17fdbf7735 (diff) | |
download | crawl-ref-ddef47a325eac7cb2b3e7886924ad8df969fb297.tar.gz crawl-ref-ddef47a325eac7cb2b3e7886924ad8df969fb297.zip |
When displaying player skills, clear to the ends of both lines, so that
e.g. switching from Lugonu to Xom doesn't leave "the Foo of Xomonu" on
the screen.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6254 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index d382cbd2f8..0e88083723 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -956,6 +956,7 @@ void redraw_skill(const std::string &your_name, const std::string &class_name) cgotoxy(1 + crawl_view.hudsz.x-9, 1, GOTO_STAT); cprintf(" *WIZARD*"); } + clear_to_end_of_line(); // Line 2: // Level N Minotaur [of God] @@ -966,6 +967,7 @@ void redraw_skill(const std::string &your_name, const std::string &class_name) species_name( you.species, you.experience_level ).c_str()); if (you.religion != GOD_NO_GOD) cprintf(" of %s", god_name(you.religion).c_str()); + clear_to_end_of_line(); textcolor( LIGHTGREY ); } |