summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-05-26 13:29:01 +0000
committeryexo <yexo@openttd.org>2009-05-26 13:29:01 +0000
commit2a5a8f395c0c71146259433a1a4abe7807d2f8ac (patch)
treee21a14ab69dcbb702f56c284719ecdbf8a0cf4fd /src/table
parent55225433c4517e0daa514d0e4cd20660396d5008 (diff)
downloadopenttd-2a5a8f395c0c71146259433a1a4abe7807d2f8ac.tar.xz
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/settings.h b/src/table/settings.h
index 22632d785..efec8ea77 100644
--- a/src/table/settings.h
+++ b/src/table/settings.h
@@ -618,6 +618,7 @@ static const SettingDesc _company_settings[] = {
SDT_BOOL(CompanySettings, engine_renew, 0, PC, false, STR_CONFIG_SETTING_AUTORENEW_VEHICLE, NULL),
SDT_VAR(CompanySettings, engine_renew_months, SLE_INT16, 0, PC, 6, -12, 12, 0, STR_CONFIG_SETTING_AUTORENEW_MONTHS, NULL),
SDT_VAR(CompanySettings, engine_renew_money, SLE_UINT, 0, PC|CR,100000, 0, 2000000, 0, STR_CONFIG_SETTING_AUTORENEW_MONEY, NULL),
+ SDT_BOOL(CompanySettings, renew_keep_length, 0, PC, false, STR_NULL, NULL),
SDT_END()
};