diff options
author | Neil Moore <neil@s-z.org> | 2014-07-05 22:01:58 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-07-05 22:21:28 -0400 |
commit | 3d2a0df9fdb6e46349e48701897ec4acec95a548 (patch) | |
tree | 8caba590262b4763184fef69dc1558d860667b89 /crawl-ref/source/zotdef.cc | |
parent | ceea6a155e3bee001770670fc9f21dfe9ab668d8 (diff) | |
download | crawl-ref-3d2a0df9fdb6e46349e48701897ec4acec95a548.tar.gz crawl-ref-3d2a0df9fdb6e46349e48701897ec4acec95a548.zip |
Reformat.
Mostly by joining short lines in places where that would let us remove
braces.
Diffstat (limited to 'crawl-ref/source/zotdef.cc')
-rw-r--r-- | crawl-ref/source/zotdef.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/zotdef.cc b/crawl-ref/source/zotdef.cc index 80f3f79498..1c498d3110 100644 --- a/crawl-ref/source/zotdef.cc +++ b/crawl-ref/source/zotdef.cc @@ -106,11 +106,9 @@ static branch_type _zotdef_random_branch() pb = static_cast<branch_type>(random2(NUM_BRANCHES)); while (!_is_branch_fitting(pb, wavenum)); + // strong bias to main dungeon and depths if (one_chance_in(4)) - { return wavenum < 15 ? BRANCH_DUNGEON : BRANCH_DEPTHS; - // strong bias to main dungeon and depths - } return pb; } |