diff options
author | peter1138 <peter1138@openttd.org> | 2006-11-27 23:11:56 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-11-27 23:11:56 +0000 |
commit | 180019aa408af1fac945380531f6fa09467569d1 (patch) | |
tree | e4b1dd8ccb2c63d47646c0471b322b9ea585313a /settings.c | |
parent | 0cdf487623194d3264b06dd3f43fe09a3c8e446b (diff) | |
download | openttd-180019aa408af1fac945380531f6fa09467569d1.tar.xz |
(svn r7269) -Feature: Add freight trains patch option. This option is a multiplier for the weight of cargo on freight trains, to simulate longer heavier trains. The default value of 1 behaves as before.
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.c b/settings.c index 4e94a97e6..3bd825e68 100644 --- a/settings.c +++ b/settings.c @@ -1322,6 +1322,7 @@ const SettingDesc _patch_settings[] = { SDT_BOOL(Patches, no_servicing_if_no_breakdowns, 0, 0, false, STR_CONFIG_PATCHES_NOSERVICE, NULL), SDT_BOOL(Patches, wagon_speed_limits, 0, 0, true, STR_CONFIG_PATCHES_WAGONSPEEDLIMITS, NULL), SDT_CONDBOOL(Patches, disable_elrails, 38, SL_MAX_VERSION, 0, 0, false, STR_CONFIG_PATCHES_DISABLE_ELRAILS, SettingsDisableElrail), + SDT_CONDVAR(Patches, freight_trains, SLE_UINT8, 39, SL_MAX_VERSION, 0, 0, 1, 1, 255, 1, STR_CONFIG_PATCHES_FREIGHT_TRAINS, NULL), /***************************************************************************/ /* Station section of the GUI-configure patches window */ |