-make sure the last AI player doesn't get restored when a client joins an mp game

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4606 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-04-14 17:25:49 +00:00
parent 26c2c50036
commit 7c5c437e9e
1 changed files with 1 additions and 1 deletions

View File

@ -1875,7 +1875,7 @@ static void processMultiopWidgets(UDWORD id)
disableMultiButs();
// Ensure that Skirmish games have at least one AI player
if (game.type == SKIRMISH)
if (!NetPlay.bComms)
{
// Search for the last AI player we can find and make sure that it is enabled
for (i = game.maxPlayers - 1; i != ~0; --i)