summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-behv.cc')
-rw-r--r--crawl-ref/source/mon-behv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index 270e006d9a..672a5d06cc 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -83,7 +83,7 @@ static void _mark_neighbours_target_unreachable(monsters *mon)
// Don't alert monsters out of sight (e.g. on the other side of
// a wall).
- if (!mon->mon_see_cell(*ri))
+ if (!mon->see_cell(*ri))
continue;
monsters* const m = monster_at(*ri);