summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-overview.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-10 16:00:19 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-10 20:11:28 +0000
commitb818ab23ffe3c9829fae227242f8b2b33ed35b29 (patch)
tree8339615da367660ca7cf6875cd2b04377ea14ce4 /crawl-ref/source/dgn-overview.cc
parentd7857ab5030b36e7c1395215e5160d3860762256 (diff)
downloadcrawl-ref-b818ab23ffe3c9829fae227242f8b2b33ed35b29.tar.gz
crawl-ref-b818ab23ffe3c9829fae227242f8b2b33ed35b29.zip
Don't list Ziggurats under "Branches" on the overview screen
Diffstat (limited to 'crawl-ref/source/dgn-overview.cc')
-rw-r--r--crawl-ref/source/dgn-overview.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/dgn-overview.cc b/crawl-ref/source/dgn-overview.cc
index 62d18f3be5..a03858dea0 100644
--- a/crawl-ref/source/dgn-overview.cc
+++ b/crawl-ref/source/dgn-overview.cc
@@ -265,6 +265,9 @@ static string _get_seen_branches(bool display)
{
const branch_type branch = branches[i].id;
+ if (branch == BRANCH_ZIGGURAT)
+ continue;
+
if (branch == root_branch
|| stair_level.count(branch))
{