summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 17:35:25 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 17:35:25 -0600
commitdbc5b8b9f08dba55c982ecd038cb3939a61206d0 (patch)
treef17dc460f7bfef2ecf719fbb5eabcce9bf6d50c7 /crawl-ref/source/tutorial.cc
parentb89087d8c90603d8a3a0a8b2662ce240a1bcc4c4 (diff)
downloadcrawl-ref-dbc5b8b9f08dba55c982ecd038cb3939a61206d0.tar.gz
crawl-ref-dbc5b8b9f08dba55c982ecd038cb3939a61206d0.zip
Fix compilation.
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index 4386c0a663..aa5b9f90d1 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -2189,12 +2189,14 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc)
text << "An unwary adventurer will occasionally stumble into one "
"of these nasty constructions";
#ifndef USE_TILE
- glyph g = get_show_glyph(env.show(e));
+ {
+ glyph g = get_show_glyph(env.show(e));
- if (g.ch == ' ' || g.col == BLACK)
- g.col = LIGHTCYAN;
+ if (g.ch == ' ' || g.col == BLACK)
+ g.col = LIGHTCYAN;
- text << " depicted by " << _colourize_glyph(g.col, '^');
+ text << " depicted by " << _colourize_glyph(g.col, '^');
+ }
#endif
text << ". They can do physical damage (with darts or needles, for "
"example) or have other, more magical effects, like "