Fix AI chooser, broken by last fix

master
Per Inge Mathisen 2011-01-10 19:26:30 +01:00
parent 2e27958efa
commit d1c5a64997
1 changed files with 4 additions and 0 deletions

View File

@ -2912,6 +2912,10 @@ static void processMultiopWidgets(UDWORD id)
closePositionChooser();
addPlayerBox(!ingame.bHostSetup || bHosted);
}
else if (!NetPlay.players[id - MULTIOP_PLAYER_START].allocated && !challengeActive)
{
addAiChooser(player);
}
}
if (id >= MULTIOP_DIFFICULTY_INIT_START && id <= MULTIOP_DIFFICULTY_INIT_END && !challengeActive)