summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-08 19:57:59 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-08 20:12:46 +0200
commit2fb004a5ae4d47af8151a821f296c25426fbe1e4 (patch)
treec70122b7cd720b36b76b6048bf510159c30d8a33 /crawl-ref/source/spells3.cc
parentc7a9fecd4bc075e9b7b05f132a32aeaed7ff7c1e (diff)
downloadcrawl-ref-2fb004a5ae4d47af8151a821f296c25426fbe1e4.tar.gz
crawl-ref-2fb004a5ae4d47af8151a821f296c25426fbe1e4.zip
Convert remaining uses of losight to los_param-style.
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 71c4cbfa5f..23b49dd8f5 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1058,7 +1058,7 @@ int animate_dead(actor *caster, int pow, beh_type beha, unsigned short hitting,
// Use an alternate LOS grid, based on the caster's LOS.
env_show_grid losgrid;
if (caster->atype() != ACT_PLAYER)
- losight(losgrid, grd, caster->pos(), true);
+ losight(losgrid, los_param_solid(caster->pos()));
int number_raised = 0;
int number_seen = 0;