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/spells3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 12ba4f2df9..a15b02fd32 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1065,7 +1065,7 @@ int animate_dead(actor *caster, int pow, beh_type beha, unsigned short hitting, // Use an alternate LOS grid, based on the caster's LOS. env_show_grid losgrid; if (caster->atype() != ACT_PLAYER) - losight(losgrid, caster->pos(), opc_solid); + losight(losgrid, caster->pos(), opc_no_trans); int number_raised = 0; int number_seen = 0; -- cgit v1.2.3-54-g00ecf