diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-15 17:35:25 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-15 17:35:25 -0600 |
commit | dbc5b8b9f08dba55c982ecd038cb3939a61206d0 (patch) | |
tree | f17dc460f7bfef2ecf719fbb5eabcce9bf6d50c7 /crawl-ref/source | |
parent | b89087d8c90603d8a3a0a8b2662ce240a1bcc4c4 (diff) | |
download | crawl-ref-dbc5b8b9f08dba55c982ecd038cb3939a61206d0.tar.gz crawl-ref-dbc5b8b9f08dba55c982ecd038cb3939a61206d0.zip |
Fix compilation.
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 10 |
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 " |