diff options
author | rubidium <rubidium@openttd.org> | 2006-08-31 16:29:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-31 16:29:47 +0000 |
commit | 8ff4c6d7a56725e515e63918d2692709b4e19d25 (patch) | |
tree | 5d942cd02765dcb3a96bf44c5051428acf253b3b /settings.c | |
parent | fd09bd15b239c90b1b3e3ac951a0cfbb75f9f79f (diff) | |
download | openttd-8ff4c6d7a56725e515e63918d2692709b4e19d25.tar.xz |
(svn r6281) -Fix (r6186): three settings were accidently removed. Thanks go to Osai for reporting and providing the patch.
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.c b/settings.c index 8151b7bbd..2f16ec1f0 100644 --- a/settings.c +++ b/settings.c @@ -1206,6 +1206,9 @@ static const SettingDescGlobVarList _network_settings[] = { SDTG_BOOL("autoclean_companies", S, 0, _network_autoclean_companies, false, STR_NULL, NULL), SDTG_VAR("autoclean_unprotected",SLE_UINT8, S, 0, _network_autoclean_unprotected,12, 0, 60, 0, STR_NULL, NULL), SDTG_VAR("autoclean_protected", SLE_UINT8, S, 0, _network_autoclean_protected, 36, 0, 180, 0, STR_NULL, NULL), + SDTG_VAR("max_companies", SLE_UINT8, S, 0, _network_game_info.companies_max, 8, 0, 8, 0, STR_NULL, NULL), + SDTG_VAR("max_clients", SLE_UINT8, S, 0, _network_game_info.clients_max, 10, 0, 10, 0, STR_NULL, NULL), + SDTG_VAR("max_spectators", SLE_UINT8, S, 0, _network_game_info.spectators_max, 10, 0, 10, 0, STR_NULL, NULL), SDTG_VAR("restart_game_year", SLE_INT32, S,D0, _network_restart_game_year, 0, MIN_YEAR, MAX_YEAR, 1, STR_NULL, NULL), SDTG_END() }; |