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-861f7616d084master
parent
1ae21868b3
commit
1aee29fab5
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue