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 | 4b4fb32e8a4774c427c2b94aa714e6220ee2c5fb (patch) | |
tree | ac2204c309184d96934a6a244083a7bd2cc25cea | |
parent | bc1901a6e41b2abc5a6db5ac89ff990d9427a170 (diff) | |
download | openttd-4b4fb32e8a4774c427c2b94aa714e6220ee2c5fb.tar.xz |
(svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players
-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 |