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/spells1.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells1.cc') diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index da3b065aea..f6e386bffc 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -138,7 +138,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink) // Grid in los, no problem. break; } - else if (trans_wall_blocking( beam.target )) + else if (you.trans_wall_blocking( beam.target )) { // Wizard blink can move past translucent walls. if (wizard_blink) @@ -557,7 +557,7 @@ bool conjure_flame(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