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 4d5321ae18..df5647d123 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -1092,7 +1092,7 @@ void handle_behaviour(monsters *mon)
// or has guessed the player's location.
bool proxPlayer = mons_near(mon) && !crawl_state.arena;
- bool trans_wall_block = trans_wall_blocking(mon->pos());
+ bool trans_wall_block = you.trans_wall_blocking(mon->pos());
#ifdef WIZARD
// If stealth is greater than actually possible (wizmode level)