summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los_def.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
committerNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
commite7b96ffa70ca93a3cea9e2cead6f40085a6a2d68 (patch)
treeec3e4b86d3b4ed96250f735b4e597e83ee886de8 /crawl-ref/source/los_def.cc
parentb65bf4d5198c19095e3084a88983680df19ec5ee (diff)
downloadcrawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.tar.gz
crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.zip
More formatting fixes for return (...);
Diffstat (limited to 'crawl-ref/source/los_def.cc')
-rw-r--r--crawl-ref/source/los_def.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/los_def.cc b/crawl-ref/source/los_def.cc
index 5b881b8995..10cc474e43 100644
--- a/crawl-ref/source/los_def.cc
+++ b/crawl-ref/source/los_def.cc
@@ -90,7 +90,7 @@ bool los_def::in_bounds(const coord_def& p) const
bool los_def::see_cell(const coord_def& p) const
{
const coord_def sp = p - center;
- return (sp.rdist() <= LOS_MAX_RANGE && show(sp));
+ return sp.rdist() <= LOS_MAX_RANGE && show(sp);
}
coord_def los_glob::get_center() const
@@ -110,7 +110,7 @@ bool los_glob::in_bounds(const coord_def& p) const
bool los_glob::see_cell(const coord_def& p) const
{
- return (in_bounds(p) && cell_see_cell(center, p, lt));
+ return in_bounds(p) && cell_see_cell(center, p, lt);
}
los_glob& los_glob::operator=(const los_glob& los)