summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/view.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 42877990dc..ad306499a5 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -853,10 +853,9 @@ void viewwindow(bool monster_updates, bool show_updates)
bool run_dont_draw = you.running && Options.travel_delay < 0
&& (!you.running.is_explore() || Options.explore_delay < 0);
-#ifndef USE_TILE
- if (run_dont_draw || you.asleep())
+
+ if (run_dont_draw || you.asleep() || is_resting())
return;
-#endif
cursor_control cs(false);
@@ -914,11 +913,6 @@ void viewwindow(bool monster_updates, bool show_updates)
// and this simply works without requiring a stack.
you.flash_colour = BLACK;
-#ifdef USE_TILE
- if (run_dont_draw || you.asleep() || is_resting())
- return;
-#endif
-
#ifndef USE_TILE
you.last_view_update = you.num_turns;
puttext(crawl_view.viewp.x, crawl_view.viewp.y,