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/dgn-layouts.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/dgn-layouts.cc')
-rw-r--r-- | crawl-ref/source/dgn-layouts.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/dgn-layouts.cc b/crawl-ref/source/dgn-layouts.cc index f5bfe00924..be2d058f35 100644 --- a/crawl-ref/source/dgn-layouts.cc +++ b/crawl-ref/source/dgn-layouts.cc @@ -329,11 +329,8 @@ static void _make_trail(int xs, int xr, int ys, int yr, int corrlength, else dir.y = _trail_random_dir(pos.y, GYM, 15); - if (dir.x == 0 && dir.y == 0 - || map_masked(pos + dir, MMT_VAULT)) - { + if (dir.x == 0 && dir.y == 0 || map_masked(pos + dir, MMT_VAULT)) continue; - } // Corridor length... change only when going vertical? if (dir.x == 0 || length == 0) |