summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/feature.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-19 00:19:24 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-19 00:19:24 +0100
commitf933c8c3d6a141c76ca5e05eda5f11b6d14722c3 (patch)
tree80d1922fbb3977ddfdc79678544a5a29f879f894 /crawl-ref/source/feature.cc
parent56402a27013be84ab7678cbfc1725d380fdaf04e (diff)
downloadcrawl-ref-f933c8c3d6a141c76ca5e05eda5f11b6d14722c3.tar.gz
crawl-ref-f933c8c3d6a141c76ca5e05eda5f11b6d14722c3.zip
Schedule DNGN_ENTER_PORTAL_VAULT for removal; other related fixes.
Diffstat (limited to 'crawl-ref/source/feature.cc')
-rw-r--r--crawl-ref/source/feature.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/feature.cc b/crawl-ref/source/feature.cc
index 0efbfab935..86bd187bf6 100644
--- a/crawl-ref/source/feature.cc
+++ b/crawl-ref/source/feature.cc
@@ -146,7 +146,9 @@ static void _init_feat(feature_def &f, dungeon_feature_type feat)
{
default:
if (feat >= DNGN_ENTER_FIRST_PORTAL && feat <= DNGN_ENTER_LAST_PORTAL
+#if TAG_MAJOR_VERSION == 34
|| feat == DNGN_ENTER_PORTAL_VAULT
+#endif
|| feat == DNGN_ENTER_LABYRINTH
|| feat == DNGN_ENTER_HELL
|| feat >= DNGN_ENTER_DIS && feat <= DNGN_ENTER_ABYSS
@@ -165,7 +167,9 @@ static void _init_feat(feature_def &f, dungeon_feature_type feat)
break;
}
else if (feat >= DNGN_EXIT_FIRST_PORTAL && feat <= DNGN_EXIT_LAST_PORTAL
+#if TAG_MAJOR_VERSION == 34
|| feat == DNGN_EXIT_PORTAL_VAULT
+#endif
|| feat == DNGN_EXIT_HELL
|| feat == DNGN_EXIT_ABYSS
|| feat == DNGN_EXIT_PANDEMONIUM