summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/flood_find.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-14 17:21:58 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-15 21:03:43 +0100
commit04ab49bde8bfadd87c7897b3319238b1da561812 (patch)
treeafd986d551f519de290313bb485d0ee1bfa743c2 /crawl-ref/source/flood_find.h
parent51aa1dcc06634d7d1851e964ac63b3c1fca3e1cf (diff)
downloadcrawl-ref-04ab49bde8bfadd87c7897b3319238b1da561812.tar.gz
crawl-ref-04ab49bde8bfadd87c7897b3319238b1da561812.zip
Drop unnecessary parentheses from return statements.
Diffstat (limited to 'crawl-ref/source/flood_find.h')
-rw-r--r--crawl-ref/source/flood_find.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/flood_find.h b/crawl-ref/source/flood_find.h
index 63ad610160..b58547fbc0 100644
--- a/crawl-ref/source/flood_find.h
+++ b/crawl-ref/source/flood_find.h
@@ -93,7 +93,7 @@ bool flood_find<fgrd, bound_check>::any_point_connected_from(
set_floodseed(sp);
const size_t sz = needed_points.size();
pathfind(RMODE_CONNECTIVITY);
- return (needed_points.size() < sz);
+ return needed_points.size() < sz;
}
template <typename fgrd, typename bound_check>