summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index d27201f8b4..47cdd1542e 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -2048,7 +2048,7 @@ static bool _find_monster( const coord_def& where, int mode, bool need_path,
return (false);
// Monster in LOS but only via glass walls, so no direct path.
- if (need_path && !see_cell_no_trans(where))
+ if (need_path && !you.see_cell_no_trans(where))
return (false);
if (!_mons_is_valid_target(mon, mode, range))