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 | 470c383738d84b9e2e1e202fec2633d10f6e1712 (patch) | |
tree | e4b1dd8ccb2c63d47646c0471b322b9ea585313a /settings.c | |
parent | 45e7e61aa969764dc71ab1bbc574655e07a346a4 (diff) | |
download | openttd-470c383738d84b9e2e1e202fec2633d10f6e1712.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 */ |