From 19c3c95b8dba465b3efacf8eb96798af69c170fc Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sun, 8 Nov 2009 15:26:25 +0100 Subject: Add opc_no_trans and use that for see_cell_no_trans. The difference between no_trans and solid is whether granite statues are considered opaque. Granite statues are somewhat weird in that they behave completely differently from other statues: You can't shoot missiles at or past them, no items can be in their cell, etc. --- crawl-ref/source/los.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crawl-ref/source/los.cc') diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc index f3c57856b6..c3d06066f5 100644 --- a/crawl-ref/source/los.cc +++ b/crawl-ref/source/los.cc @@ -933,8 +933,7 @@ void calc_show_los() you.update_los(); // What would be visible, if all of the translucent walls were // made opaque. - // XXX: figure out what this should really do. - losight(env.no_trans_show, you.pos(), opc_solid); + losight(env.no_trans_show, you.pos(), opc_no_trans); } } -- cgit v1.2.3-54-g00ecf