summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
commitc41419c4f47bbf0737d3fedf58128c835d2c4e3b (patch)
tree764ae18c107df39fd90af718922036bd245561ca /crawl-ref/source/exclude.cc
parentb80adef8882143cad34f3c8bcc9a8ccbd4440223 (diff)
downloadcrawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.tar.gz
crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.zip
Drop parentheses around scalar values in "return".
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index 49768637ab..c373ebead4 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -53,10 +53,10 @@ static bool _need_auto_exclude(const monster* mon, bool sleepy = false)
&& (mon->attitude == ATT_HOSTILE
|| mon->type == MONS_HYPERACTIVE_BALLISTOMYCETE))
{
- return (true);
+ return true;
}
- return (false);
+ return false;
}
// Nightstalker reduces LOS, so reducing the maximum exclusion radius
@@ -297,7 +297,7 @@ travel_exclude* exclude_set::get_exclude_root(const coord_def &p)
if (it != exclude_roots.end())
return (&(it->second));
- return (NULL);
+ return NULL;
}
size_t exclude_set::size() const