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-861f7616d084
master
Buginator 2008-10-12 18:05:47 +00:00
parent ea2dcd8b5e
commit a4e9ac0e09
1 changed files with 2 additions and 2 deletions

View File

@ -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();