git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9692 c06c8d41-db1a-0410-9941-cceddc491573
UBHLXCMMIEXAUZ6DO4ZY4XFMUECT624WF4JENVJXV7DGCW66Y3DAC XZTGZ7MOPX7ZOHQ4IQPXOHGUH5WPRNOYAQ6IQOMZDZYNVSAYFTNAC IA6EPF5ZQE6276Q4JSUKBSXHX5ODRY5I5UK7LXH4MQEDG36P6PZAC 43JVVA7TDO34AZTBX4Y6VLCNRP2BHC4OAUGYNWLVYGUIL6HGESPQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC V5SYTPXSEUOCYVBE3KRNZSOJMDIVOOLSOGJKQNHGZO26SHICPNCQC BY6T2KQBNMPI54QVEI4QRI6GOCMKAPDEY543VTX7PWXFNNQF25MQC // Check whether there's a monster of the same alignment adjacent to the// given monster in at least one of three given directions (relative to
// Check whether there's a monster of the same type and alignment adjacent// to the given monster in at least one of three given directions (relative to
if (mmov.x != 0 && mmov.y != 0)
// The rock worm will try to move along through rock for as long as// possible. If the player is walking through a corridor, for example,// moving along in the wall beside him is much preferable to actually// leaving the wall.// This might cause the rock worm to take detours but it still// comes off as smarter than otherwise.if (mmov.x != 0 && mmov.y != 0) // diagonal movement