git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4019 c06c8d41-db1a-0410-9941-cceddc491573
GB6EXRIQHNKDMACOLGFQFPQVIKAGO5ETYHCU4TI2HLZTXFENCDXQC
SRYIUTTRZYQDYPLLXYKEHMYWC4EGBYPOT65M2HZEIGFG6SDMV7SQC
JDZCDMUCQ7VENYVLB62KQWUIRGABID37OKATOKCBUPCDL7W75NPAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
4OV4JZ6NWQ2ZK4LEWCUWALLB3BVANJJ2EMLHC5LJLA5WYSP25OIQC
CGYTZT5QWIEGYKUOLOK7MFXSLJKLYRZONER5ZCDZO5XYWSLG475QC
bool inside_halo(int posx, int posy);
}bool inside_halo(int posx, int posy){ return (_inside_circle(posx, posy, halo_radius()) != -1);
}
bool inside_halo(int posx, int posy)
{
return (_inside_circle(posx, posy, halo_radius()) != -1);
return (_inside_circle(posx, posy, halo_radius()) != -1 && mgrd[posx][posy] != NON_MONSTER);
return (_inside_circle(posx, posy, halo_radius()) != -1
&& mgrd[posx][posy] != NON_MONSTER);
return (inside_halo(posx, posy) && mgrd[posx][posy] != NON_MONSTER);