git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2924 c06c8d41-db1a-0410-9941-cceddc491573
IGKVCDUXGUOCEDVHXKOXNVMN3I3SFBRXG2G3WPKZBVL7USXSC47QC
FU7EQZLXD7YNGUUDHXCBI3VUKL6M2G3EPDY6FB5UA6B6RD4S5UOQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
if (monster->target_x == you.x_pos && monster->target_y == you.y_pos)
if (monster->target_pos() == you.pos() && see_grid_no_trans(monster->pos()))
if (monster->target_pos() == you.pos()
&& see_grid_no_trans(monster->pos()))
else if (!see_grid_no_trans(beam.tx, beam.ty)) { mpr("There's a wall in the way."); return (false); }
else if (!see_grid_no_trans(beam.tx, beam.ty))
{
mpr("There's a wall in the way.");
return (false);
}