summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-25 14:25:13 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-25 14:25:13 +0000
commitb4b1187fa18c00dba288189dcc75d3bbb5ebf8a7 (patch)
tree6c011f1512211a03498a4ce5db585d947891700b /crawl-ref/source/tilepick.cc
parent6604f9f6004e6e8d32e988a2e26b490432208095 (diff)
downloadcrawl-ref-b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7.tar.gz
crawl-ref-b4b1187fa18c00dba288189dcc75d3bbb5ebf8a7.zip
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
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc5
1 files changed, 4 insertions, 1 deletions
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;