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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 7385a352a9..acfd160e10 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -4344,9 +4344,9 @@ static int _mushroom_ring(item_def &corpse, int & seen_count)
std::vector<std::vector<coord_def> > radius_points;
env_show_grid losgrid;
- losight(losgrid, grd, corpse.pos, true);
+ losight(losgrid, los_param_solid(corpse.pos));
- collect_radius_points(radius_points,corpse.pos, losgrid);
+ collect_radius_points(radius_points, corpse.pos, losgrid);
// So what we have done so far is collect the set of points at each radius
// reachable from the origin with (somewhat constrained) 8 connectivity,