summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-05 01:33:53 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-05 01:33:53 +0000
commit62f7040f14b39e67042be98f951575fbc819e84e (patch)
treed4fa0598a1bee1d34fff81e2c150de08c2256753 /crawl-ref/source/files.cc
parent19155f1f85058ef9d65d11e60c63cc69c36d4e8a (diff)
downloadcrawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.tar.gz
crawl-ref-62f7040f14b39e67042be98f951575fbc819e84e.zip
Tiles!
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 6af6196a0c..78d8edb5ef 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -87,6 +87,7 @@
#include "state.h"
#include "stuff.h"
#include "tags.h"
+#include "tiles.h"
#include "terrain.h"
#include "travel.h"
#include "tutorial.h"
@@ -1090,7 +1091,9 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
if (timeval > 0)
{
you.time_taken = timeval;
+#ifndef USE_TILE
viewwindow(true, false);
+#endif
handle_monsters();
}
}
@@ -1354,6 +1357,10 @@ void load_ghost(void)
menv[imn].set_ghost(ghosts[0]);
menv[imn].ghost_init();
+#ifdef USE_TILE
+ TileGhostInit(ghosts[0]);
+#endif
+
ghosts.erase(ghosts.begin());
}
}