Aivolution AI:

-fixed a bug, which made Aivolution send its units to the initiator of the "go <player>" request instead of the enemy it was supposed to attack.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4149 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-03-18 20:14:18 +00:00
parent 31d449c8ed
commit 30f5916f83
1 changed files with 6 additions and 6 deletions

View File

@ -14582,10 +14582,10 @@ function void processCommand(string _message, int _sender, bool _bBlipMessage)
msg("drop a beacon", me, _sender);
return;
}
else if(curBase[_sender][0] > 0) /* remember or can directly see it */
else if(curBase[_player][0] > 0) /* remember or can directly see it */
{
_x = curBase[_sender][0];
_y = curBase[_sender][1];
_x = curBase[_player][0];
_y = curBase[_player][1];
}
else
{
@ -14682,10 +14682,10 @@ function void processCommand(string _message, int _sender, bool _bBlipMessage)
msg("drop a beacon", me, _sender);
return;
}
else if(curBase[_sender][0] > 0) /* remember or can directly see it */
else if(curBase[_player][0] > 0) /* remember or can directly see it */
{
_x = curBase[_sender][0];
_y = curBase[_sender][1];
_x = curBase[_player][0];
_y = curBase[_player][1];
}
}