summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.h
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/tiletex.h
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/tiletex.h')
-rw-r--r--crawl-ref/source/tiletex.h1
1 files changed, 1 insertions, 0 deletions
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);
}