summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-08 17:35:57 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-08 19:46:19 +0100
commiteb9ddc3ba38e5a76b9efb74153c19d84b6d44e74 (patch)
tree2262bbbe9e0f49eef89aa28f740151e35494259b /crawl-ref/source/mon-behv.cc
parent3ba101e847eae30dd5abf9661b252e6e5ebf87ff (diff)
downloadcrawl-ref-eb9ddc3ba38e5a76b9efb74153c19d84b6d44e74.tar.gz
crawl-ref-eb9ddc3ba38e5a76b9efb74153c19d84b6d44e74.zip
Get rid of a few uses of mon_see_cell.
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);