Fixes & closes ticket:103
Alliances were formed in a SP game that were not supposed to be formed as a byproduct of having game.alliance set to ALLIANCES_TEAMS in a skirmish/MP game. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6140 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
ea2dcd8b5e
commit
a4e9ac0e09
|
@ -1049,8 +1049,8 @@ BOOL stageThreeInitialise(void)
|
|||
|
||||
setAllPauseStates(false);
|
||||
|
||||
/* decide if we have to create teams */
|
||||
if(game.alliance == ALLIANCES_TEAMS && game.type == SKIRMISH)
|
||||
/* decide if we have to create teams, ONLY in multiplayer mode!*/
|
||||
if( bMultiPlayer && game.alliance == ALLIANCES_TEAMS && game.type == SKIRMISH)
|
||||
{
|
||||
createTeamAlliances();
|
||||
|
||||
|
|
Loading…
Reference in New Issue