summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
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 8862e4ee34..bbf4f42dac 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -890,16 +890,17 @@ void viewwindow(bool monster_updates, bool show_updates)
#endif
if (show_updates)
+ {
you.update_los();
#ifdef USE_TILE
- tile_draw_floor();
- tile_draw_rays(true);
- tiles.clear_overlays();
+ tile_draw_floor();
+ tile_draw_rays(true);
+ tiles.clear_overlays();
#endif
- if (show_updates)
env.show.init();
+ }
if (monster_updates && !crawl_state.arena)
monster_grid_updates();