summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:06:56 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:22:17 +0100
commitd21b754210905c4bf50e0c346d820b3d8b1af01c (patch)
tree29d6121a80cb4792bf3bbb530e4ed728c824cda3 /crawl-ref/source/los.cc
parent310d0430888db20093a862e7921511076a486c6b (diff)
downloadcrawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.tar.gz
crawl-ref-d21b754210905c4bf50e0c346d820b3d8b1af01c.zip
Move trans_wall_blocking into player.
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc6
1 files changed, 0 insertions, 6 deletions
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));
-}