diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 15:36:38 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 16:45:17 +0200 |
commit | 47332d4cd5e3297f9c80cac5e6cc83790920cf28 (patch) | |
tree | 725ad62d4d811b962fd949edb0f9154c14c62854 /crawl-ref/source/losparam.cc | |
parent | 2f62da4f8d850459676d780980dbabb7f25a1488 (diff) | |
download | crawl-ref-47332d4cd5e3297f9c80cac5e6cc83790920cf28.tar.gz crawl-ref-47332d4cd5e3297f9c80cac5e6cc83790920cf28.zip |
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.
Diffstat (limited to 'crawl-ref/source/losparam.cc')
-rw-r--r-- | crawl-ref/source/losparam.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |