summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 05:21:54 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 05:21:54 +0000
commit469f183e63813560350b6a409356e11107893947 (patch)
treed23d787b0318c54c58dbb2db45d0b17039c54f09 /crawl-ref/source/acr.cc
parentea12034397dd2aa7118cae28194de688fa25d8d0 (diff)
downloadcrawl-ref-469f183e63813560350b6a409356e11107893947.tar.gz
crawl-ref-469f183e63813560350b6a409356e11107893947.zip
Fixes for arena mode in tiles mode. It runs now, but there are still some visual issues (error tiles) because env.show gets updated weirdly in arena mode.
Tangentially related to fixing this, also cleaning up logic in view.cc to use grid2show, adding a number of asserts for tiles-related problems, adding error tiles for all textures, and fixing some incorrect logic about centering on the player instead of vgrdc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8104 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 44fa192e5c..4f8ee05493 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -3883,6 +3883,10 @@ static bool _initialise(void)
if (crawl_state.arena)
{
+#ifdef USE_TILE
+ tiles.initialise_items();
+#endif
+
run_arena();
end(0, false);
}