summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place-info.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-08-19 21:44:20 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-08-19 22:50:14 +0200
commit6277ada9193ec99d02390c68f932911ee910e8b7 (patch)
treef285d580e6d71a1ce1cd5650627d38fd96c6db07 /crawl-ref/source/place-info.cc
parente660887ad8d09299320f4a361dbfc3c263a41301 (diff)
downloadcrawl-ref-6277ada9193ec99d02390c68f932911ee910e8b7.tar.gz
crawl-ref-6277ada9193ec99d02390c68f932911ee910e8b7.zip
Enclose df62c623 in ifdefs, so it gets auto-reverted on the next save break.
Diffstat (limited to 'crawl-ref/source/place-info.cc')
-rw-r--r--crawl-ref/source/place-info.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/place-info.cc b/crawl-ref/source/place-info.cc
index 781a39ac65..5d22632177 100644
--- a/crawl-ref/source/place-info.cc
+++ b/crawl-ref/source/place-info.cc
@@ -49,12 +49,12 @@ void PlaceInfo::assert_validity() const
// Pandemonium level.
// ASSERT(num_visits <= levels_seen);
;
-/*
+#if TAG_MAJOR_VERSION != 29
// Commented out to allow games with broken place_info to continue.
// Please uncomment at a later point in 0.8 development. (jpeg)
else if (level_type == LEVEL_DUNGEON && branches[branch].depth > 0)
ASSERT(levels_seen <= (unsigned long) branches[branch].depth);
-*/
+#endif
ASSERT(turns_total == (turns_explore + turns_travel + turns_interlevel
+ turns_resting + turns_other));