summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/losparam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/losparam.cc')
-rw-r--r--crawl-ref/source/losparam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/losparam.cc b/crawl-ref/source/losparam.cc
index b281aa7df9..4f1f100244 100644
--- a/crawl-ref/source/losparam.cc
+++ b/crawl-ref/source/losparam.cc
@@ -65,5 +65,5 @@ bool bounds_radius_sq::operator()(const coord_def& p) const
// LOS bounded by current global LOS radius.
bool bounds_cur_los_radius::operator()(const coord_def& p) const
{
- return (p.abs() <= get_los_radius_squared());
+ return (p.abs() <= get_los_radius_sq());
}