diff options
author | Neil Moore <neil@s-z.org> | 2012-05-02 13:04:14 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-05-02 22:37:29 -0400 |
commit | d824ca89c52e0a5fcd2b9b7c41e4fea8da163710 (patch) | |
tree | 6c61d1f477a1e30cb47c8dd013872894f553ebe6 /crawl-ref/source/branch.cc | |
parent | 8ce0e0f77d0a67c6388dcd76203ab8c8ab676a59 (diff) | |
download | crawl-ref-d824ca89c52e0a5fcd2b9b7c41e4fea8da163710.tar.gz crawl-ref-d824ca89c52e0a5fcd2b9b7c41e4fea8da163710.zip |
Set ZotDef in Zot.
Allow games to use different root branches. Currently this is Zot for
zotdef, and Dungeon for everything else.
If there are reachable branches that precede the root branch in
branches[], the ^O screen will incorrectly print them first. This is
not currently the case for any game type, and isn't likely to be the
case in the future, because branches[] is for the most part
topologically sorted.
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r-- | crawl-ref/source/branch.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc index 62a2d20fd9..71e6f11cd8 100644 --- a/crawl-ref/source/branch.cc +++ b/crawl-ref/source/branch.cc @@ -11,6 +11,7 @@ #include "branch-data.h" FixedVector<int, NUM_BRANCHES> startdepth, brdepth; +branch_type root_branch; const Branch& your_branch() { |