diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:06:56 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:22:17 +0100 |
commit | d21b754210905c4bf50e0c346d820b3d8b1af01c (patch) | |
tree | 29d6121a80cb4792bf3bbb530e4ed728c824cda3 /crawl-ref/source/teleport.cc | |
parent | 310d0430888db20093a862e7921511076a486c6b (diff) | |
download | crawl-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.cc | 2 |
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; |