diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-20 23:22:36 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-20 23:22:36 +0000 |
commit | 0e1304a15a7c5fd3a5dbe3b24f4722aeef8578f2 (patch) | |
tree | 1c383784c97337fd162ea239cdc288459f462d3d | |
parent | aa4f3948a82167efe142343d37e23fc720436e13 (diff) | |
download | crawl-ref-0e1304a15a7c5fd3a5dbe3b24f4722aeef8578f2.tar.gz crawl-ref-0e1304a15a7c5fd3a5dbe3b24f4722aeef8578f2.zip |
Fixing redraw not being called enough (due to my previous check in to fix slowdowns during resting.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7891 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/view.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index e414eb9c80..e9ec3cc37a 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -5088,6 +5088,9 @@ void viewwindow(bool draw_it, bool do_updates) const bool map = player_in_mappable_area(); const bool draw = +#ifdef USE_TILE + !is_resting() && +#endif (!you.running || Options.travel_delay > -1) && !you.asleep(); int bufcount = 0; @@ -5357,6 +5360,7 @@ void viewwindow(bool draw_it, bool do_updates) if (draw) { #ifdef USE_TILE + tiles.set_need_redraw(); tiles.load_dungeon(&tileb[0], you.pos().x, you.pos().y); tiles.update_inventory(); #else |