From b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 25 Jul 2009 14:25:13 +0000 Subject: Apply zebez' patch to differentiate gates some more from stairs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10403 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tilepick.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/tilepick.cc') diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index 20b113957f..c32f7c6b5d 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -2416,6 +2416,8 @@ int tileidx_feature(int object, int gx, int gy) case DNGN_STONE_STAIRS_UP_I: case DNGN_STONE_STAIRS_UP_II: case DNGN_STONE_STAIRS_UP_III: + if (player_in_hell()) + return TILE_DNGN_RETURN_HELL; return TILE_DNGN_STONE_STAIRS_UP; case DNGN_ESCAPE_HATCH_UP: return TILE_DNGN_ESCAPE_HATCH_UP; @@ -2466,7 +2468,6 @@ int tileidx_feature(int object, int gx, int gy) case DNGN_RETURN_FROM_VAULTS: case DNGN_RETURN_FROM_CRYPT: case DNGN_RETURN_FROM_HALL_OF_BLADES: - case DNGN_RETURN_FROM_ZOT: case DNGN_RETURN_FROM_TEMPLE: case DNGN_RETURN_FROM_SNAKE_PIT: case DNGN_RETURN_FROM_ELVEN_HALLS: @@ -2474,6 +2475,8 @@ int tileidx_feature(int object, int gx, int gy) case DNGN_RETURN_FROM_SWAMP: case DNGN_RETURN_FROM_SHOALS: return TILE_DNGN_RETURN; + case DNGN_RETURN_FROM_ZOT: + return TILE_DNGN_RETURN_ZOT; case DNGN_ENTER_PORTAL_VAULT: case DNGN_EXIT_PORTAL_VAULT: return TILE_DNGN_PORTAL; -- cgit v1.2.3-54-g00ecf