Sensor targeting fix by Thomas Rast
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1339 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
0730665b1e
commit
07f6c04ecd
|
@ -3261,8 +3261,8 @@ DROID_ORDER chooseOrderObj(DROID *psDroid, BASE_OBJECT *psObj)
|
|||
}
|
||||
}
|
||||
// else default to attack if the droid has a weapon
|
||||
//else if (psDroid->numWeaps > 0
|
||||
else if (psDroid->asWeaps[0].nStat > 0
|
||||
else if (psDroid->numWeaps > 0
|
||||
//else if (psDroid->asWeaps[0].nStat > 0
|
||||
&& psObj->player != psDroid->player
|
||||
&& !aiCheckAlliances(psObj->player , psDroid->player) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue