diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2013-05-25 19:17:43 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2013-05-26 20:56:16 -0600 |
commit | 65f519f29f21b78d568cbf1bfbd574a461031efb (patch) | |
tree | a8be07c0e4ca0989b575a148cf175f9ebd277e7c /crawl-ref/source/wiz-dgn.cc | |
parent | 2e5ab92c51b25f0536971a6c7c6f9ffbe784adee (diff) | |
download | crawl-ref-65f519f29f21b78d568cbf1bfbd574a461031efb.tar.gz crawl-ref-65f519f29f21b78d568cbf1bfbd574a461031efb.zip |
Alternate Forest with Crypt.
Forest's entrance depth and absolute depth are now the same as Crypt's.
This also adds functionality to move Tomb's entrance to Forest if Crypt
isn't placed in the game, so Tomb always exists (at present).
Diffstat (limited to 'crawl-ref/source/wiz-dgn.cc')
-rw-r--r-- | crawl-ref/source/wiz-dgn.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/wiz-dgn.cc b/crawl-ref/source/wiz-dgn.cc index 7f9d3c0c1f..f820e5e11b 100644 --- a/crawl-ref/source/wiz-dgn.cc +++ b/crawl-ref/source/wiz-dgn.cc @@ -335,15 +335,15 @@ void wizard_list_branches() { for (int i = 0; i < NUM_BRANCHES; ++i) { - if (branches[i].parent_branch == NUM_BRANCHES) + if (parent_branch((branch_type)i) == NUM_BRANCHES) continue; else if (startdepth[i] != -1) { mprf(MSGCH_DIAGNOSTICS, "Branch %d (%s) is on level %d of %s", i, branches[i].longname, startdepth[i], - branches[branches[i].parent_branch].abbrevname); + branches[parent_branch((branch_type)i)].abbrevname); } - else if (is_random_lair_subbranch((branch_type)i)) + else if (is_random_subbranch((branch_type)i)) { mprf(MSGCH_DIAGNOSTICS, "Branch %d (%s) was not generated " "this game", i, branches[i].longname); |