summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-init.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2014-01-26 18:38:57 +0100
committerAdam Borowski <kilobyte@angband.pl>2014-01-27 14:10:51 +0100
commitdd3d4e257dce28fb11a24534ebb12ac98ff52f16 (patch)
tree657b132af0f329fe80275cff3f30b417318b4649 /crawl-ref/source/ng-init.cc
parentad6e92348726fd8a1e6cdb922cea13e80e8d4dc4 (diff)
downloadcrawl-ref-dd3d4e257dce28fb11a24534ebb12ac98ff52f16.tar.gz
crawl-ref-dd3d4e257dce28fb11a24534ebb12ac98ff52f16.zip
Generate no Forest in the Vaults.
In neither of proposed destinies for the Forest (removal and replacement of Vaults), it is a Vaults subbranch.
Diffstat (limited to 'crawl-ref/source/ng-init.cc')
-rw-r--r--crawl-ref/source/ng-init.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/crawl-ref/source/ng-init.cc b/crawl-ref/source/ng-init.cc
index fef69c56f2..e446ecea46 100644
--- a/crawl-ref/source/ng-init.cc
+++ b/crawl-ref/source/ng-init.cc
@@ -91,20 +91,14 @@ void initialise_branch_depths()
{
random_choose(BRANCH_SWAMP, BRANCH_SHOALS, -1),
random_choose(BRANCH_SNAKE, BRANCH_SPIDER, -1),
- random_choose(BRANCH_CRYPT, BRANCH_FOREST, -1),
};
- if (Version::ReleaseType != VER_ALPHA)
- disabled_branch[2] = BRANCH_FOREST;
- else
- disabled_branch[2] = BRANCH_CRYPT;
for (unsigned int i = 0; i < ARRAYSZ(disabled_branch); ++i)
{
dprf("Disabling branch: %s", branches[disabled_branch[i]].shortname);
brentry[disabled_branch[i]].clear();
}
- if (brentry[BRANCH_FOREST].is_valid())
- brentry[BRANCH_TOMB].branch = BRANCH_FOREST;
+ brentry[BRANCH_FOREST].clear();
for (int i = 0; i < NUM_BRANCHES; i++)
brdepth[i] = branches[i].numlevels;