summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-06 21:09:55 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-07 07:13:17 +0100
commiteba334b16cedbe10d7a2690b24b477857ddda358 (patch)
treecdbd56aeeb26f3aa0d53e66b30f24c8a1d97f5e0 /crawl-ref/source/los.cc
parent10273d633986cf417c52169acb14a12fc52cb018 (diff)
downloadcrawl-ref-eba334b16cedbe10d7a2690b24b477857ddda358.tar.gz
crawl-ref-eba334b16cedbe10d7a2690b24b477857ddda358.zip
Make player use actor LOS instead of env.show_los.
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index e28f91e94a..1d68cef75c 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -1008,7 +1008,7 @@ void calc_show_los()
if (!crawl_state.arena && !crawl_state.arena_suspended)
{
losight(env.show_los, you.pos());
-
+ you.update_los();
// What would be visible, if all of the translucent walls were
// made opaque.
// XXX: figure out what this should really do.