Allow droids to slide past enemy droids, instead of being blocked dead in the sand (which looks really stupid).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10190 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
bcb70cb5d7
commit
02901850b7
|
@ -1306,7 +1306,7 @@ static void moveCalcDroidSlide(DROID *psDroid, float *pmx, float *pmy)
|
||||||
|
|
||||||
if (radSq > distSq)
|
if (radSq > distSq)
|
||||||
{
|
{
|
||||||
if (psObst != NULL || !aiCheckAlliances(psObj->player, psDroid->player))
|
if (psObst != NULL)
|
||||||
{
|
{
|
||||||
// hit more than one droid - stop
|
// hit more than one droid - stop
|
||||||
*pmx = (float)0;
|
*pmx = (float)0;
|
||||||
|
|
Loading…
Reference in New Issue