summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/teleport.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/teleport.cc
parent310d0430888db20093a862e7921511076a486c6b (diff)
downloadcrawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.tar.gz
crawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.zip
Move trans_wall_blocking into player.
Diffstat (limited to 'crawl-ref/source/teleport.cc')
-rw-r--r--crawl-ref/source/teleport.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/teleport.cc b/crawl-ref/source/teleport.cc
index 133590ef1b..fe0c2f4b7f 100644
--- a/crawl-ref/source/teleport.cc
+++ b/crawl-ref/source/teleport.cc
@@ -30,7 +30,7 @@ bool random_near_space(const coord_def& origin, coord_def& target,
tried.init(false);
// Is the monster on the other side of a transparent wall?
- const bool trans_wall_block = trans_wall_blocking(origin);
+ const bool trans_wall_block = you.trans_wall_blocking(origin);
const bool origin_is_player = (you.pos() == origin);
int min_walls_between = 0;