git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8833 c06c8d41-db1a-0410-9941-cceddc491573
G3EZBLFMOL5HJKIVRFIGALMCGATOSBINVKBTDF6ZB2AT7TD5L3BQC
BRNMISYGZGT3XGXA2VCDTPDDROEWX6O23VNEPWMHYVEQEKUVVWOQC
3V52MSSK7QX7FWLLUW63DTWCBAJEK674EFZLKP45FLZ5KZKVARHAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
// A monster can only move through or inhabit permanent rock if that's // exactly what it's asking for. if (actual_grid == DNGN_PERMAROCK_WALL || actual_grid == DNGN_CLEAR_PERMAROCK_WALL) { return (grid_wanted == DNGN_PERMAROCK_WALL || grid_wanted == DNGN_CLEAR_PERMAROCK_WALL); }
// A monster can only move through or inhabit permanent rock if that's
// exactly what it's asking for.
if (actual_grid == DNGN_PERMAROCK_WALL
|| actual_grid == DNGN_CLEAR_PERMAROCK_WALL)
{
return (grid_wanted == DNGN_PERMAROCK_WALL
|| grid_wanted == DNGN_CLEAR_PERMAROCK_WALL);
}