Aivolution AI:

-fix the "Not enough power to build droid" for AIV too

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4550 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-04-09 17:25:36 +00:00
parent 424a8123b7
commit 3c7b6b4000
1 changed files with 5 additions and 8 deletions

View File

@ -1312,12 +1312,6 @@ function void mainInitialize()
setEventTrigger(startNewResearch, researchCompleteTr);
setEventTrigger(startAllResearch, startAllResearchTr);
setEventTrigger(evUpdateMapRevealFactor, updateMapRevealFactorTr);
//if(me != selectedPlayer)
if(modifierOn)
{
setEventTrigger(diffMod, diffModTr);
}
}
//---------------------------------------------------------
@ -2135,10 +2129,13 @@ function void fixGroups()
}
}
event diffMod(inactive)
event diffMod(diffModTr)
{
if(not isHumanPlayer(me) and modifierOn)
{
skDifficultyModifier(me);
}
}
function void goRTB()
{