summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-04-25 17:40:06 +0000
committerglx <glx@openttd.org>2007-04-25 17:40:06 +0000
commitc1b898392ea3aa03c89d1222ad9558eb02ac25b6 (patch)
tree1c52bb2e25eef64fa3af60cb8fbc7e8b8e35e5c2 /src/network
parent78e542a62e51dadb79f4a85ebf59d58c42fb04e0 (diff)
downloadopenttd-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.cpp2
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;
}