diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 12:36:13 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 13:03:13 +0200 |
commit | 9042de61fb4f05a9da01d470ef325d6c6381dd28 (patch) | |
tree | 9801b1dfd90fd296dbfe8a4f20f269913bf5550c /crawl-ref/source/los_def.cc | |
parent | 53671ccab2db8416aa16b9df6ba799e0cfaa78dd (diff) | |
download | crawl-ref-9042de61fb4f05a9da01d470ef325d6c6381dd28.tar.gz crawl-ref-9042de61fb4f05a9da01d470ef325d6c6381dd28.zip |
Remove parentheses around return (simple_function_call).
For way too paranoid and underinclusive values of "simple".
Diffstat (limited to 'crawl-ref/source/los_def.cc')
-rw-r--r-- | crawl-ref/source/los_def.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/los_def.cc b/crawl-ref/source/los_def.cc index eecb36d3f0..4567c3b63e 100644 --- a/crawl-ref/source/los_def.cc +++ b/crawl-ref/source/los_def.cc @@ -84,7 +84,7 @@ void los_def::set_bounds(const circle_def &b) circle_def los_def::get_bounds() const { - return (circle_def(center, bds)); + return circle_def(center, bds); } bool los_def::in_bounds(const coord_def& p) const @@ -95,7 +95,7 @@ bool los_def::in_bounds(const coord_def& p) const bool los_def::see_cell(const coord_def& p) const { if (arena) - return (in_bounds(p)); + return in_bounds(p); const coord_def sp = p - center; return (sp.rdist() <= LOS_MAX_RANGE && show(sp)); } @@ -107,7 +107,7 @@ coord_def los_glob::get_center() const circle_def los_glob::get_bounds() const { - return (circle_def(center, bds)); + return circle_def(center, bds); } bool los_glob::in_bounds(const coord_def& p) const |