git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6611 c06c8d41-db1a-0410-9941-cceddc491573
G3BHIB4AOVZ7P4DF7RMRI2C2O6HPSJYRMYQLF2LYBFLKHN6UUIZAC
4FQAKUKUO6PCAZ3N4HUR5XL6E4VA5UQUZ3AEDGRBLVY7W2LMWI7QC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
PI5BATR2SER3RFE76IUGHM2AGXVFOUM3PLU7WC2K2Q2BA5K2E73QC
3KRKUK3HCBBZWS5MXFAMM4R5PGWWTSURBSFXEEZPRRCFAZ5EZTCAC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
7RE7J5DEMEO52RKOE77JMEXKZ7ORJJMCRGKLC6NHYDJW66UKYE4AC
// 3. Check sanctuary.
if (is_sanctuary(beam.target_x + x, beam.target_y + y))
// Make sure we haven't run off the map.
if (map_bounds(loc))
return;
// Check sanctuary.
if (is_sanctuary(loc.x, loc.y))
// 4. Check to see if we're blocked by something
// specifically, we're blocked by WALLS. Not
// statues, idols, etc.
const int dngn_feat = grd[beam.target_x + x][beam.target_y + y];
// Check to see if we're blocked by something specifically, we're blocked
// by WALLS. Not statues, idols, etc.
const int dngn_feat = grd(loc);