summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-24 09:02:38 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-24 09:02:38 +0000
commit5e887cdbaca92e5706d363c22fafbe10c0de669b (patch)
treeed48514caa5780a8ee5dcc2dcfd3ccfbaa4eeaba /crawl-ref/source/files.cc
parent0ff119e29e26761c5c24b70dacbee90de6735323 (diff)
downloadcrawl-ref-5e887cdbaca92e5706d363c22fafbe10c0de669b.tar.gz
crawl-ref-5e887cdbaca92e5706d363c22fafbe10c0de669b.zip
[1749272] Fixed view update issues:
- Redraw view when entering a new level before allowing monsters on the level to act. - Monsters are redrawn on the view as and when they move, instead of postponing the view update to the end of turn. - Beam animations and monster redraws force a view update if the view is stale (such as when a beam is shown during travel and travel_delay = -1). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1925 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index d2ec409aca..2b64064856 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -81,6 +81,7 @@
#include "tags.h"
#include "travel.h"
#include "tutorial.h"
+#include "view.h"
void save_level(int level_saved, level_area_type lt,
branch_type where_were_you);
@@ -960,6 +961,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
if (timeval > 0)
{
you.time_taken = timeval;
+ viewwindow(true, false);
handle_monsters();
}
}