summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-05-29 13:05:28 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-05-29 13:07:53 -0400
commit1c38e164c05f2e4a26c45ea7df6749b15a19fd31 (patch)
tree2d1597682c645c2ee446f2a336695a6b85ea18e9
parent863110b63a79a4e393839443fe477be7b99546a8 (diff)
downloadcrawl-ref-1c38e164c05f2e4a26c45ea7df6749b15a19fd31.tar.gz
crawl-ref-1c38e164c05f2e4a26c45ea7df6749b15a19fd31.zip
Don't consider hell entrances as going up outside the Hells (N78291).
-rw-r--r--crawl-ref/source/viewmap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/viewmap.cc b/crawl-ref/source/viewmap.cc
index 1c64de59ec..3118bd1dc6 100644
--- a/crawl-ref/source/viewmap.cc
+++ b/crawl-ref/source/viewmap.cc
@@ -163,6 +163,8 @@ bool is_feature(ucs_t feature, const coord_def& where)
case '<':
switch (grid)
{
+ case DNGN_ENTER_HELL:
+ return player_in_hell();
case DNGN_ESCAPE_HATCH_UP:
case DNGN_STONE_STAIRS_UP_I:
case DNGN_STONE_STAIRS_UP_II:
@@ -173,8 +175,6 @@ bool is_feature(ucs_t feature, const coord_def& where)
case DNGN_RETURN_FROM_FOREST:
#endif
case DNGN_RETURN_FROM_ORC:
- // Not a < glyph, but still the best hells can do
- case DNGN_ENTER_HELL:
case DNGN_RETURN_FROM_LAIR:
case DNGN_RETURN_FROM_SLIME:
case DNGN_RETURN_FROM_VAULTS: