summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-proclayouts.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-24 15:25:19 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-04-24 15:43:20 +0100
commit8fda2a0803f3be61ec03fba3af885e5eca1db9b3 (patch)
tree33baf7b5a349eec2fa58f95087de48c57f4a7b06 /crawl-ref/source/dgn-proclayouts.cc
parent25a9a952636dddc470def833fd5b632e4445a9c2 (diff)
downloadcrawl-ref-8fda2a0803f3be61ec03fba3af885e5eca1db9b3.tar.gz
crawl-ref-8fda2a0803f3be61ec03fba3af885e5eca1db9b3.zip
Don't let teleporters be carried into the Abyss when banished (#8432)
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r--crawl-ref/source/dgn-proclayouts.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc
index 0b99f43574..c691145faf 100644
--- a/crawl-ref/source/dgn-proclayouts.cc
+++ b/crawl-ref/source/dgn-proclayouts.cc
@@ -186,7 +186,7 @@ NewAbyssLayout::operator()(const coord_def &p, const uint32_t offset) const
dungeon_feature_type sanitize_feature(dungeon_feature_type feature, bool strict)
{
- if (feat_is_gate(feature))
+ if (feat_is_gate(feature) || feature == DNGN_TELEPORTER)
feature = DNGN_STONE_ARCH;
if (feat_is_stair(feature))
feature = strict ? DNGN_FLOOR : DNGN_STONE_ARCH;