summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:06:56 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:22:17 +0100
commitd21b754210905c4bf50e0c346d820b3d8b1af01c (patch)
tree29d6121a80cb4792bf3bbb530e4ed728c824cda3 /crawl-ref/source/mon-behv.cc
parent310d0430888db20093a862e7921511076a486c6b (diff)
downloadcrawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.tar.gz
crawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.zip
Move trans_wall_blocking into player.
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)