diff options
author | peter1138 <peter1138@openttd.org> | 2009-03-25 16:30:33 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-03-25 16:30:33 +0000 |
commit | 28d3123dfd7c8a981496e81fb1dc5996015563d9 (patch) | |
tree | da8d06cfc31e2312725d33bcd53743b1d3048879 /src/table | |
parent | 20528504256660d75eba2240706cf47b15c5bd10 (diff) | |
download | openttd-28d3123dfd7c8a981496e81fb1dc5996015563d9.tar.xz |
(svn r15848) -Feature: Add autoclean_novehicles setting which will, when autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehciles-months.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h index 677e25c84..7a422d6d2 100644 --- a/src/table/settings.h +++ b/src/table/settings.h @@ -577,6 +577,7 @@ const SettingDesc _settings[] = { SDTC_BOOL(network.autoclean_companies, S, NO, false, STR_NULL, NULL), SDTC_VAR(network.autoclean_unprotected, SLE_UINT8, S,D0|NO, 12, 0, 240, 0, STR_NULL, NULL), SDTC_VAR(network.autoclean_protected, SLE_UINT8, S,D0|NO, 36, 0, 240, 0, STR_NULL, NULL), + SDTC_VAR(network.autoclean_novehicles, SLE_UINT8, S,D0|NO, 0, 0, 240, 0, STR_NULL, NULL), SDTC_VAR(network.max_companies, SLE_UINT8, S, NO, 8, 1,MAX_COMPANIES,0, STR_NULL, UpdateClientConfigValues), SDTC_VAR(network.max_clients, SLE_UINT8, S, NO, 16, 2, MAX_CLIENTS, 0, STR_NULL, NULL), SDTC_VAR(network.max_spectators, SLE_UINT8, S, NO, 8, 0, MAX_CLIENTS, 0, STR_NULL, UpdateClientConfigValues), |