From dbc5b8b9f08dba55c982ecd038cb3939a61206d0 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 15 Nov 2009 17:35:25 -0600 Subject: Fix compilation. --- crawl-ref/source/tutorial.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') 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 " -- cgit v1.2.3-54-g00ecf