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/itemprop.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/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 69c8593ff1..659a36be61 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -1520,11 +1520,8 @@ bool is_brandable_weapon(const item_def &wpn, bool allow_ranged, bool divine) if (is_artefact(wpn)) return false; - if (!allow_ranged && is_range_weapon(wpn) - || wpn.sub_type == WPN_BLOWGUN) - { + if (!allow_ranged && is_range_weapon(wpn) || wpn.sub_type == WPN_BLOWGUN) return false; - } // Only gods can rebrand blessed weapons, and they revert back to their // old base type in the process. |