diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-02-24 00:17:33 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-02-24 00:17:33 +0100 |
commit | 1a3efe1645312d8a7f159d88bdd71beefb5c27b7 (patch) | |
tree | ff244f3ca239ecc491bb0e7f37a7031f8ee2d0a0 /crawl-ref/source/tutorial.cc | |
parent | d05e88a1d8e8f57ee8c154dc7eb32f2edf353e26 (diff) | |
download | crawl-ref-1a3efe1645312d8a7f159d88bdd71beefb5c27b7.tar.gz crawl-ref-1a3efe1645312d8a7f159d88bdd71beefb5c27b7.zip |
Fix #915: Corpse glyph and corresponding message wrong in tutorial.
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 77d53e2038..9f6086129d 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1957,7 +1957,11 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) { text << "That "; #ifndef USE_TILE - text << _colourize_glyph(get_item_glyph(&mitm[i])); + std::string glyph = _colourize_glyph(get_item_glyph(&mitm[i])); + const std::string::size_type found = glyph.find("%"); + if (found != std::string::npos) + glyph.replace(found, 1, "percent"); + text << glyph; text << " "; #else tiles.place_cursor(CURSOR_TUTORIAL, gc); |