From d21b754210905c4bf50e0c346d820b3d8b1af01c Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 13 Nov 2009 15:06:56 +0100 Subject: Move trans_wall_blocking into player. --- crawl-ref/source/spells4.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells4.cc') 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); -- cgit v1.2.3-54-g00ecf