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/los.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crawl-ref/source/los.cc') diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc index 0931802478..9a3354eac0 100644 --- a/crawl-ref/source/los.cc +++ b/crawl-ref/source/los.cc @@ -904,9 +904,3 @@ void calc_show_los() if (!crawl_state.arena && !crawl_state.arena_suspended) you.update_los(); } - -// Is the cell visible, but a translucent wall is in the way? -bool trans_wall_blocking(const coord_def &p) -{ - return (you.see_cell(p) && !you.see_cell_no_trans(p)); -} -- cgit v1.2.3-54-g00ecf