summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "