From 469f183e63813560350b6a409356e11107893947 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Fri, 2 Jan 2009 05:21:54 +0000 Subject: 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 --- crawl-ref/source/acr.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/acr.cc') 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); } -- cgit v1.2.3-54-g00ecf