From 79637ef7b8351ee7cfb7ee0f05213d78b7c4b542 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 4 May 2007 22:45:37 +0000 Subject: (svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players --- src/openttd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openttd.cpp b/src/openttd.cpp index 1ba3b5d46..44a3f0d53 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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 -- cgit v1.2.3-70-g09d2