summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-03-25 16:30:33 +0000
committerpeter1138 <peter1138@openttd.org>2009-03-25 16:30:33 +0000
commit28d3123dfd7c8a981496e81fb1dc5996015563d9 (patch)
treeda8d06cfc31e2312725d33bcd53743b1d3048879 /src/settings_type.h
parent20528504256660d75eba2240706cf47b15c5bd10 (diff)
downloadopenttd-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/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index e96a25802..e3f52600d 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -126,6 +126,7 @@ struct NetworkSettings {
bool autoclean_companies; ///< automatically remove companies that are not in use
uint8 autoclean_unprotected; ///< remove passwordless companies after this many months
uint8 autoclean_protected; ///< remove the password from passworded companies after this many months
+ uint8 autoclean_novehicles; ///< remove companies with no vehicles after this many months
uint8 max_companies; ///< maximum amount of companies
uint8 max_clients; ///< maximum amount of clients
uint8 max_spectators; ///< maximum amount of spectators