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 | bbc9a67f6fabfa347e231265d2f2345a563cd51e (patch) | |
tree | 1c52bb2e25eef64fa3af60cb8fbc7e8b8e35e5c2 /src/network | |
parent | 450df80c3a294a89bc28cc4b9610c3a9d1a9c2e6 (diff) | |
download | openttd-bbc9a67f6fabfa347e231265d2f2345a563cd51e.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; } |