summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place-info.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-20 01:36:03 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-20 01:36:03 +0100
commit7d816dcee34cf224c9f77a0d99a75f1ef375b05a (patch)
tree871fd0782fa0b18c8a73f2bdb037a52cf287e5e0 /crawl-ref/source/place-info.cc
parent94360e17383a2bc6fba94735805723f5e9a37ef9 (diff)
downloadcrawl-ref-7d816dcee34cf224c9f77a0d99a75f1ef375b05a.tar.gz
crawl-ref-7d816dcee34cf224c9f77a0d99a75f1ef375b05a.zip
Disable an assert.
It's not a proper fix, but it at leasts allows affected games to continue.
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 963aab2f02..10463d49f3 100644
--- a/crawl-ref/source/place-info.cc
+++ b/crawl-ref/source/place-info.cc
@@ -30,8 +30,8 @@ void PlaceInfo::assert_validity() const
|| num_visits > 0 && levels_seen > 0);
// global data is NUM_BRANCHES
- if (branch != NUM_BRANCHES && brdepth[branch] != -1 && is_connected_branch(branch))
- ASSERT((int)levels_seen <= brdepth[branch]);
+ //if (branch != NUM_BRANCHES && brdepth[branch] != -1 && is_connected_branch(branch))
+ // ASSERT((int)levels_seen <= brdepth[branch]);
ASSERT(turns_total == (turns_explore + turns_travel + turns_interlevel
+ turns_resting + turns_other));