diff options
author | glx <glx@openttd.org> | 2007-05-04 22:45:37 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-05-04 22:45:37 +0000 |
commit | 79637ef7b8351ee7cfb7ee0f05213d78b7c4b542 (patch) | |
tree | ac2204c309184d96934a6a244083a7bd2cc25cea /src | |
parent | b76cc8c96b6a43e56addb5d6fe32513e7e0ea96f (diff) | |
download | openttd-79637ef7b8351ee7cfb7ee0f05213d78b7c4b542.tar.xz |
(svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players
Diffstat (limited to 'src')
-rw-r--r-- | src/openttd.cpp | 4 |
1 files 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 |