summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.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/los.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/los.cc')
-rw-r--r--crawl-ref/source/los.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index 400ea200a2..85ea3002af 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -852,11 +852,11 @@ void calc_show_los()
if (!crawl_state.arena && !crawl_state.arena_suspended)
{
// Must be done first.
- losight(env.show, grd, you.pos());
+ losight(env.show, los_param_base(you.pos()));
// What would be visible, if all of the translucent walls were
// made opaque.
- losight(env.no_trans_show, grd, you.pos(), true);
+ losight(env.no_trans_show, los_param_solid(you.pos()));
}
else
{