summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-proclayouts.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-28 01:06:04 -0400
committerNeil Moore <neil@s-z.org>2014-05-28 01:06:04 -0400
commit7aedcd24e1be3ed58fef9542786c1a194e4c07d0 (patch)
tree7535c8c8095ae510080a3648bd4f5955f045de01 /crawl-ref/source/dgn-proclayouts.cc
parent5ff1a9f2f359b3e65a59ae4f16683e37faf6f644 (diff)
downloadcrawl-ref-7aedcd24e1be3ed58fef9542786c1a194e4c07d0.tar.gz
crawl-ref-7aedcd24e1be3ed58fef9542786c1a194e4c07d0.zip
Don't carry over sealed featured into the Abyss (#8601)
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r--crawl-ref/source/dgn-proclayouts.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc
index 9bd4b92d56..df8c4e395d 100644
--- a/crawl-ref/source/dgn-proclayouts.cc
+++ b/crawl-ref/source/dgn-proclayouts.cc
@@ -188,7 +188,9 @@ dungeon_feature_type sanitize_feature(dungeon_feature_type feature, bool strict)
{
if (feat_is_gate(feature) || feature == DNGN_TELEPORTER)
feature = DNGN_STONE_ARCH;
- if (feat_is_stair(feature))
+ if (feature == DNGN_SEALED_DOOR)
+ feature = DNGN_CLOSED_DOOR;
+ if (feat_is_stair(feature) || feat_is_sealed(feature))
feature = strict ? DNGN_FLOOR : DNGN_STONE_ARCH;
if (feat_is_altar(feature))
feature = DNGN_FLOOR;