summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-overview.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-03 13:01:25 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-03 13:01:25 +0100
commit7047b33b2768a838b2cea28f8738936c08f1d406 (patch)
tree27a0d4712509390031464a0d05d8eacdd53d2096 /crawl-ref/source/dgn-overview.cc
parente06bfaaf8641758a91ec5978d28a55b4697be788 (diff)
downloadcrawl-ref-7047b33b2768a838b2cea28f8738936c08f1d406.tar.gz
crawl-ref-7047b33b2768a838b2cea28f8738936c08f1d406.zip
Shorten branch enums.
Seriously, even preparing this commit gave me a pain in the triangle between the thumb and index finger's bases and the wrist.
Diffstat (limited to 'crawl-ref/source/dgn-overview.cc')
-rw-r--r--crawl-ref/source/dgn-overview.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dgn-overview.cc b/crawl-ref/source/dgn-overview.cc
index 77a4f98337..dc0ec043b3 100644
--- a/crawl-ref/source/dgn-overview.cc
+++ b/crawl-ref/source/dgn-overview.cc
@@ -191,7 +191,7 @@ static string _portals_description_string()
{
string disp;
level_id last_id;
- for (branch_type cur_portal = BRANCH_MAIN_DUNGEON; cur_portal < NUM_BRANCHES;
+ for (branch_type cur_portal = BRANCH_DUNGEON; cur_portal < NUM_BRANCHES;
cur_portal = static_cast<branch_type>(cur_portal + 1))
{
last_id.depth = 10000;
@@ -280,7 +280,7 @@ static string _get_seen_branches(bool display)
}
// "D" is a little too short here.
- const char *brname = (branch == BRANCH_MAIN_DUNGEON
+ const char *brname = (branch == BRANCH_DUNGEON
? branches[branch].shortname
: branches[branch].abbrevname);
@@ -339,7 +339,7 @@ static string _get_unseen_branches()
&& seen_vaults_branches >= 1))
continue;
- if (i == BRANCH_VESTIBULE_OF_HELL || !is_connected_branch(branch))
+ if (i == BRANCH_VESTIBULE || !is_connected_branch(branch))
continue;
if (branch_is_unfinished(branch))