summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.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/directn.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/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 54d67962f4..637b49f5ae 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -3161,8 +3161,10 @@ static string _base_feature_desc(dungeon_feature_type grid, trap_type trap)
return "dark tunnel";
case DNGN_ENTER_WIZLAB:
return "magical portal";
+#if TAG_MAJOR_VERSION == 34
case DNGN_ENTER_PORTAL_VAULT:
return "gate leading to a distant place";
+#endif
case DNGN_MALIGN_GATEWAY:
return "portal to somewhere";
case DNGN_EXPIRED_PORTAL:
@@ -3206,7 +3208,9 @@ static string _base_feature_desc(dungeon_feature_type grid, trap_type trap)
case DNGN_EXIT_SEWER:
case DNGN_EXIT_OSSUARY:
case DNGN_EXIT_BAILEY:
+#if TAG_MAJOR_VERSION == 34
case DNGN_EXIT_PORTAL_VAULT:
+#endif
return "gate leading back out of here";
// altars
@@ -3407,11 +3411,14 @@ string feature_description_at(const coord_def& where, bool covering,
case DNGN_ENTER_SHOP:
return shop_name(where, add_stop);
+#if TAG_MAJOR_VERSION == 34
case DNGN_ENTER_PORTAL_VAULT:
// Should have been handled at the top of the function.
return thing_do_grammar(
dtype, add_stop, false,
"UNAMED PORTAL VAULT ENTRY");
+#endif
+
case DNGN_FLOOR:
if (dtype == DESC_A)
dtype = DESC_THE;