summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2013-06-06 23:00:30 +0200
committerFlorian Diebold <flodiebold@gmail.com>2013-06-06 23:00:30 +0200
commita756ab3dad3f7ed06d8b0c42df559411463f97e5 (patch)
treeddcd1269e0c4ede3baf2f54be78ca39d02cda18b /crawl-ref/source/view.cc
parentad1601e5749e640e640ea88e2d9842db848d0ee0 (diff)
downloadcrawl-ref-a756ab3dad3f7ed06d8b0c42df559411463f97e5.tar.gz
crawl-ref-a756ab3dad3f7ed06d8b0c42df559411463f97e5.zip
Fix Webtiles view flash.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 3034c10d11..521e37a5bd 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -1042,10 +1042,6 @@ void viewwindow(bool show_updates, bool tiles_only)
cell++;
}
- // Leaving it this way because short flashes can occur in long ones,
- // and this simply works without requiring a stack.
- you.flash_colour = BLACK;
- you.flash_where = 0;
you.last_view_update = you.num_turns;
#ifndef USE_TILE_LOCAL
#ifdef USE_TILE_WEB
@@ -1064,6 +1060,11 @@ void viewwindow(bool show_updates, bool tiles_only)
tiles.update_tabs();
#endif
+ // Leaving it this way because short flashes can occur in long ones,
+ // and this simply works without requiring a stack.
+ you.flash_colour = BLACK;
+ you.flash_where = 0;
+
// Reset env.show if we munged it.
if (_show_terrain)
show_init();