summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index ee0321e026..51a8b8a3d7 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -4276,7 +4276,7 @@ void collect_radius_points(std::vector<std::vector<coord_def> > &radius_points,
int current_r = 1;
int current_thresh = current_r * (current_r + 1);
- int max_distance = LOS_RADIUS * LOS_RADIUS;
+ int max_distance = LOS_RADIUS * LOS_RADIUS + 1;
while (!fringe.empty())
{