diff options
author | glx <glx@openttd.org> | 2007-04-25 17:40:06 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-04-25 17:40:06 +0000 |
commit | c1b898392ea3aa03c89d1222ad9558eb02ac25b6 (patch) | |
tree | 1c52bb2e25eef64fa3af60cb8fbc7e8b8e35e5c2 /src/network | |
parent | 78e542a62e51dadb79f4a85ebf59d58c42fb04e0 (diff) | |
download | openttd-c1b898392ea3aa03c89d1222ad9558eb02ac25b6.tar.xz |
(svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 2484e2e7a..52f6ddbb0 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -1395,11 +1395,13 @@ void NetworkStartUp() byte cl_max = _network_game_info.clients_max; byte cp_max = _network_game_info.companies_max; byte sp_max = _network_game_info.spectators_max; + byte s_lang = _network_game_info.server_lang; memset(&_network_game_info, 0, sizeof(_network_game_info)); _network_game_info.clients_max = cl_max; _network_game_info.companies_max = cp_max; _network_game_info.spectators_max = sp_max; + _network_game_info.server_lang = s_lang; } |