summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-02 14:48:26 +0000
committerrubidium <rubidium@openttd.org>2007-12-02 14:48:26 +0000
commitd9081ad3f5eacf3f788c0246ff9c72eeaea9fd90 (patch)
tree5801e1ae4c02c7813e3235182983acbe0c8c799b /src/settings.cpp
parent527b72749d5160eceb6e5999c0f329701b14ee47 (diff)
downloadopenttd-d9081ad3f5eacf3f788c0246ff9c72eeaea9fd90.tar.xz
(svn r11556) -Feature: allow setting a default password for new companies in network games.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index e8eb9d0d1..e43951998 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1294,6 +1294,7 @@ static const SettingDescGlobVarList _network_settings[] = {
SDTG_STR("player_name", SLE_STRB, S, 0, _network_player_name, NULL, STR_NULL, NULL),
SDTG_STR("server_password", SLE_STRB, S, 0, _network_server_password, NULL, STR_NULL, NULL),
SDTG_STR("rcon_password", SLE_STRB, S, 0, _network_rcon_password, NULL, STR_NULL, NULL),
+ SDTG_STR("default_company_pass", SLE_STRB, S, 0, _network_default_company_pass, NULL, STR_NULL, NULL),
SDTG_STR("server_name", SLE_STRB, S, 0, _network_server_name, NULL, STR_NULL, NULL),
SDTG_STR("connect_to_ip", SLE_STRB, S, 0, _network_default_ip, NULL, STR_NULL, NULL),
SDTG_STR("network_id", SLE_STRB, S, 0, _network_unique_id, NULL, STR_NULL, NULL),