summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 32bd2cc2b2..09c8ecf973 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -171,7 +171,7 @@ static bool mark_detected_creature(int gridx, int gridy, const monsters *mon,
gy = gridy + random2(fuzz_diam) - fuzz_radius;
if (map_bounds(gx, gy)
- && mon->can_pass_through(grd[gx][gy]))
+ && mon->can_pass_through_feat(grd[gx][gy]))
{
found_good = true;
break;