summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/coordit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/coordit.cc')
-rw-r--r--crawl-ref/source/coordit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/coordit.cc b/crawl-ref/source/coordit.cc
index b93b4aad98..52593eda76 100644
--- a/crawl-ref/source/coordit.cc
+++ b/crawl-ref/source/coordit.cc
@@ -128,7 +128,7 @@ bool radius_iterator::on_valid_square() const
return (false);
if (require_los)
{
- if (!losgrid && !see_cell(location))
+ if (!losgrid && !you.see_cell(location))
return (false);
if (losgrid && !see_cell(*losgrid, center, location))
return (false);