summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-26 16:13:57 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-26 16:13:57 +0200
commitc3b62ae272b074ce3dce91b802fa665e3a10f73b (patch)
treec92ae66066c571bbfd2360165f7c4e8fe87d9bd0 /crawl-ref/source/branch.cc
parent74002831be5cf2750a19cf2a9e2fe34e9aa6c0d9 (diff)
downloadcrawl-ref-c3b62ae272b074ce3dce91b802fa665e3a10f73b.tar.gz
crawl-ref-c3b62ae272b074ce3dce91b802fa665e3a10f73b.zip
Remove some unused portal vault special-casing.
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r--crawl-ref/source/branch.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc
index 0c744b6e19..08e1949146 100644
--- a/crawl-ref/source/branch.cc
+++ b/crawl-ref/source/branch.cc
@@ -100,23 +100,3 @@ bool branch_is_unfinished(branch_type branch)
return branch == BRANCH_FOREST || branch == BRANCH_DWARVEN_HALL
|| branch == BRANCH_HIVE;
}
-
-bool is_portal_vault(branch_type branch)
-{
- switch (branch)
- {
- // somehow not BRANCH_LABYRINTH
- case BRANCH_ZIGGURAT:
- case BRANCH_BAZAAR:
- case BRANCH_TROVE:
- case BRANCH_SEWER:
- case BRANCH_OSSUARY:
- case BRANCH_BAILEY:
- case BRANCH_ICE_CAVE:
- case BRANCH_VOLCANO:
- case BRANCH_WIZLAB:
- return true;
- default:
- return false;
- }
-}