summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.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/monstuff.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/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index c4983788f5..d77608c93d 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -2552,7 +2552,7 @@ static coord_def _random_monster_nearby_habitable_space(const monsters& mon,
continue;
}
- if (respect_los && !mon.mon_see_cell(target))
+ if (respect_los && !mon.see_cell(target))
continue;
// Survived everything, break out (with a good value of target.)