summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 13:22:39 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 14:00:11 +0200
commit68935e461e64eeb85ea44c616d1eab58975b8e20 (patch)
tree471804168af54b681856211f26fefb5091b34c34 /crawl-ref/source/exclude.cc
parent15d548d4ba1148531b8d755d4130962126bccb52 (diff)
downloadcrawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz
crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index c373ebead4..8ad61c0589 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -188,7 +188,7 @@ bool travel_exclude::affects(const coord_def& p) const
else if (radius == 1)
return ((p - pos).rdist() <= 1);
else
- return (los.see_cell(p));
+ return los.see_cell(p);
}
bool travel_exclude::in_bounds(const coord_def &p) const
@@ -371,7 +371,7 @@ bool is_excluded(const coord_def &p, const exclude_set &exc)
bool is_exclude_root(const coord_def &p)
{
- return (curr_excludes.get_exclude_root(p));
+ return curr_excludes.get_exclude_root(p);
}
int get_exclusion_radius(const coord_def &p)