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/tiletex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/tiletex.h') diff --git a/crawl-ref/source/tiletex.h b/crawl-ref/source/tiletex.h index 63abf4d2f4..5158ea6411 100644 --- a/crawl-ref/source/tiletex.h +++ b/crawl-ref/source/tiletex.h @@ -72,6 +72,7 @@ protected: inline const tile_info &TilesTexture::get_info(int idx) { + ASSERT(m_info_func); return m_info_func(idx); } -- cgit v1.2.3-54-g00ecf