summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-03-05 11:50:54 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-03-05 12:12:54 -0700
commit39441b969f793fffea86238070633afe5c24c60b (patch)
treeb8ee4eb20ae3a1d064240997739943223460e583 /crawl-ref/source/terrain.cc
parent1a26aba65bcf653643123c40e1399c71101859e6 (diff)
downloadcrawl-ref-39441b969f793fffea86238070633afe5c24c60b.tar.gz
crawl-ref-39441b969f793fffea86238070633afe5c24c60b.zip
Fix up some TAG_MAJOR_VERSION > 34 issues.
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index 035450b7dd..1d0a89aeec 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -1608,7 +1608,10 @@ static const char *dngn_feature_names[] =
"enter_hall_of_blades", "enter_zot", "enter_temple",
"enter_snake_pit", "enter_elven_halls", "enter_tomb",
"enter_swamp", "enter_shoals", "enter_spider_nest",
-"enter_forest", "enter_depths",
+#if TAG_MAJOR_VERSION == 34
+"enter_forest",
+#endif
+"enter_depths",
#if TAG_MAJOR_VERSION == 34
"return_from_dwarven_hall",
@@ -1620,7 +1623,10 @@ static const char *dngn_feature_names[] =
"return_from_temple", "return_from_snake_pit",
"return_from_elven_halls", "return_from_tomb",
"return_from_swamp", "return_from_shoals", "return_from_spider_nest",
-"return_from_forest", "return_from_depths",
+#if TAG_MAJOR_VERSION == 34
+"return_from_forest",
+#endif
+"return_from_depths",
"altar_zin", "altar_the_shining_one", "altar_kikubaaqudgha",
"altar_yredelemnul", "altar_xom", "altar_vehumet",