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-861f7616d084
master
Per Inge Mathisen 2010-03-07 16:41:34 +00:00 committed by Git SVN Gateway
parent bcb70cb5d7
commit 02901850b7
1 changed files with 1 additions and 1 deletions

View File

@ -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;