-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-861f7616d084master
parent
26c2c50036
commit
7c5c437e9e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue