Aivolution:

-fixed a bug that made Aivolution defend its own derrick instead attacking an unprotected enemy derrick by building a bunker near it.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4449 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-03-31 18:19:41 +00:00
parent 64f742d33f
commit 8a12c396f4
1 changed files with 1 additions and 1 deletions

View File

@ -6349,7 +6349,7 @@ function bool manageOilSite(DROID _truck, STRUCTURE _derrick)
if(!_bThreat)
{
// build defenses near enemy derrick => destroy it
if(buildDerrickDefence(_derrick, _truck))
if(buildDerrickDefence(_enemyDerrick, _truck))
{
dbg("ATTACKING ENEMY DERRICK WITH DEFENSES!!!", me);
return true;