summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
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
{