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/files.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 24a9299791..bf29bea20a 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1123,7 +1123,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, if (make_changes) { tiles.clear_minimap(); - tiles.load_dungeon(NULL, you.pos().x, you.pos().y); + tiles.load_dungeon(NULL, crawl_view.vgrdc); } #endif -- cgit v1.2.3-54-g00ecf