summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-04 13:06:09 +0000
committerdarkvater <darkvater@openttd.org>2004-09-04 13:06:09 +0000
commit85628544eeac566a70bf3f218bc078c096c65c50 (patch)
tree4c8dfe7c2804e783d4308382ce2f15c7f96bd43f /settings.c
parentb4cf633f66491956dcb94e7fa39e687f9341b7e1 (diff)
downloadopenttd-85628544eeac566a70bf3f218bc078c096c65c50.tar.xz
(svn r157) -Feature: [1009708] Percent-based service intervals. Send a vehicle to depot after it has lost X% of its reliability (mivlad)
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.c b/settings.c
index 42e3a38dd..a8aedf1d8 100644
--- a/settings.c
+++ b/settings.c
@@ -835,6 +835,7 @@ static const SettingDesc patch_settings[] = {
{"max_aircraft", SDT_UINT8, (void*)40,(void*)offsetof(Patches, max_aircraft)},
{"max_ships", SDT_UINT8, (void*)50,(void*)offsetof(Patches, max_ships)},
+ {"servint_ispercent", SDT_BOOL, (void*)false,(void*)offsetof(Patches, servint_ispercent)},
{"servint_trains", SDT_UINT16, (void*)150,(void*)offsetof(Patches, servint_trains)},
{"servint_roadveh", SDT_UINT16, (void*)150,(void*)offsetof(Patches, servint_roadveh)},
{"servint_ships", SDT_UINT16, (void*)360,(void*)offsetof(Patches, servint_ships)},