From 47332d4cd5e3297f9c80cac5e6cc83790920cf28 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 17 Oct 2009 15:36:38 +0200 Subject: Clean up LOS precalculation settings. The maximal boundary within which losight/find_ray will work is now clearly defined at the start of los.cc. By default, it's the circle with radius LOS_MAX_RADIUS == LOS_RADIUS. --- crawl-ref/source/losparam.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/losparam.cc') diff --git a/crawl-ref/source/losparam.cc b/crawl-ref/source/losparam.cc index 52a2856c80..b281aa7df9 100644 --- a/crawl-ref/source/losparam.cc +++ b/crawl-ref/source/losparam.cc @@ -63,7 +63,7 @@ bool bounds_radius_sq::operator()(const coord_def& p) const } // LOS bounded by current global LOS radius. -bool bounds_los_radius::operator()(const coord_def& p) const +bool bounds_cur_los_radius::operator()(const coord_def& p) const { return (p.abs() <= get_los_radius_squared()); } -- cgit v1.2.3-54-g00ecf