(svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players

This commit is contained in:
glx 2007-05-04 22:45:37 +00:00
parent b76cc8c96b
commit 79637ef7b8
1 changed files with 2 additions and 2 deletions

View File

@ -1295,8 +1295,8 @@ bool AfterLoadGame()
/* If Load Scenario / New (Scenario) Game is used,
* a player does not exist yet. So create one here.
* 1 exeption: network-games. Those can have 0 players
* But this exeption is not true for network_servers! */
if (!_players[0].is_active && (!_networking || (_networking && _network_server)))
* But this exeption is not true for non dedicated network_servers! */
if (!_players[0].is_active && (!_networking || (_networking && _network_server && !_network_dedicated)))
DoStartupNewPlayer(false);
DoZoomInOutWindow(ZOOM_NONE, w); // update button status