From 7c5c437e9ee367aca0d0b3659ffb0408c334f3f1 Mon Sep 17 00:00:00 2001 From: Roman C Date: Mon, 14 Apr 2008 17:25:49 +0000 Subject: [PATCH] -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 --- src/multiint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/multiint.c b/src/multiint.c index 4bbd624ad..4a8aafd24 100644 --- a/src/multiint.c +++ b/src/multiint.c @@ -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)