summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.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/misc.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/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 14c68bf6dd..0c99f0eccc 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1907,13 +1907,6 @@ void timeout_tombs(int duration)
}
}
-static bool _feat_is_sealed(dungeon_feature_type feat)
-{
- return feat == DNGN_SEALED_DOOR
- || feat == DNGN_SEALED_STAIRS_DOWN
- || feat == DNGN_SEALED_STAIRS_UP;
-}
-
void timeout_terrain_changes(int duration, bool force)
{
if (!duration && !force)
@@ -1932,7 +1925,7 @@ void timeout_terrain_changes(int duration, bool force)
marker->duration -= duration;
if (marker->change_type == TERRAIN_CHANGE_DOOR_SEAL
- && !_feat_is_sealed(grd(marker->pos)))
+ && !feat_is_sealed(grd(marker->pos)))
{
continue;
}