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/spells4.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/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 83840ea20d..bbd80c8cab 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1777,7 +1777,7 @@ bool cast_portal_projectile(int pow) } // Can't use portal through walls. (That'd be just too cheap!) - if (trans_wall_blocking( target.target )) + if (you.trans_wall_blocking( target.target )) { mpr("A translucent wall is in the way."); return (false); @@ -1801,7 +1801,7 @@ bool cast_apportation(int pow, const coord_def& where) return (false); } - if (trans_wall_blocking(where)) + if (you.trans_wall_blocking(where)) { mpr("A translucent wall is in the way."); return (false); |