mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
(svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players
This commit is contained in:
parent
b76cc8c96b
commit
79637ef7b8
@ -1295,8 +1295,8 @@ bool AfterLoadGame()
|
|||||||
/* If Load Scenario / New (Scenario) Game is used,
|
/* If Load Scenario / New (Scenario) Game is used,
|
||||||
* a player does not exist yet. So create one here.
|
* a player does not exist yet. So create one here.
|
||||||
* 1 exeption: network-games. Those can have 0 players
|
* 1 exeption: network-games. Those can have 0 players
|
||||||
* But this exeption is not true for network_servers! */
|
* But this exeption is not true for non dedicated network_servers! */
|
||||||
if (!_players[0].is_active && (!_networking || (_networking && _network_server)))
|
if (!_players[0].is_active && (!_networking || (_networking && _network_server && !_network_dedicated)))
|
||||||
DoStartupNewPlayer(false);
|
DoStartupNewPlayer(false);
|
||||||
|
|
||||||
DoZoomInOutWindow(ZOOM_NONE, w); // update button status
|
DoZoomInOutWindow(ZOOM_NONE, w); // update button status
|
||||||
|
Loading…
Reference in New Issue
Block a user