summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-15 21:49:09 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-15 23:11:42 +0100
commit4973016b5011454ea3648710b604b3c4d0ecec57 (patch)
treed8d64c28e866c9c3f8058605f70616596929ff0e /crawl-ref/source/tutorial.cc
parentc99489055fb52cd6079218675a8b5688b4eb99ee (diff)
downloadcrawl-ref-4973016b5011454ea3648710b604b3c4d0ecec57.tar.gz
crawl-ref-4973016b5011454ea3648710b604b3c4d0ecec57.zip
Add get_item_symbol to showsymb.
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index 5d9edbebfa..e48dda9337 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -1737,8 +1737,7 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc)
#ifndef USE_TILE
text << "('<w>";
- get_show_symbol(show_type(SHOW_ITEM_BOOK), &ch, &colour);
- text << static_cast<char>(ch)
+ text << static_cast<char>(get_item_symbol(SHOW_ITEM_BOOK))
<< "'</w>) "
<< "that you can read by typing <w>r</w>. "
"If it's a spellbook you'll then be able to memorise spells "
@@ -1989,8 +1988,7 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc)
#ifndef USE_TILE
", both of which are represented by '<w>";
- get_show_symbol(show_type(SHOW_ITEM_STAVE), &ch, &colour);
- text << static_cast<char>(ch)
+ text << static_cast<char>(get_item_symbol(SHOW_ITEM_STAVE))
<< "</w>'"
#endif
". Both must be <w>w</w>ielded to be of use. "