Aivolution AI:

-don't append "-aiv" to AI names on machines which don't run Aivolution.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4531 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-04-06 15:58:39 +00:00
parent 1ae21868b3
commit 1aee29fab5
1 changed files with 6 additions and 6 deletions

View File

@ -843,12 +843,6 @@ function void oneTimeInitialize(bool bAIControlled)
bigMap = true; bigMap = true;
} }
/* only change name if not human */
if(not isHumanPlayer(me))
{
setPlayerName(me, myName);
}
fixGroups(); fixGroups();
//assign all dorids to an approriate group //assign all dorids to an approriate group
@ -1273,6 +1267,12 @@ function void mainInitialize()
{ {
bRunning = TRUE; //remember this AI is active bRunning = TRUE; //remember this AI is active
/* only change name if not human */
if(not isHumanPlayer(me))
{
setPlayerName(me, myName);
}
reInitialize(); //assign variables reInitialize(); //assign variables
showVersion(); showVersion();
startEnemyScout(); startEnemyScout();