diff options
author | KUDr <kudr@openttd.org> | 2006-08-27 07:23:46 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2006-08-27 07:23:46 +0000 |
commit | d3096b84fdab85a0688eff8f3a6d1d2618d3162d (patch) | |
tree | d46e216ab6a16f351ceffa9c175e99c32879e41a /settings.c | |
parent | bb30f580a4bc6bebc2908fe61dff0912a18e6655 (diff) | |
download | openttd-d3096b84fdab85a0688eff8f3a6d1d2618d3162d.tar.xz |
(svn r6164) -Fix [YAPF]: Road vehicles preferring bends - added yapf.road_curve_penalty setting with default value 100 (=YAPF_TILE_LENGTH) that is saved only in MP games (mart3p)
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 00ba5cdc0..df580faa7 100644 --- a/settings.c +++ b/settings.c @@ -1433,6 +1433,7 @@ const SettingDesc _patch_settings[] = { SDT_CONDVAR (Patches, yapf.rail_shorter_platform_per_tile_penalty, SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 0 * YAPF_TILE_LENGTH, 0, 20000, STR_NULL, NULL), // road vehicles - penalties SDT_CONDVAR (Patches, yapf.road_slope_penalty , SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 2 * YAPF_TILE_LENGTH, 0, 1000000, STR_NULL, NULL), + SDT_CONDVAR (Patches, yapf.road_curve_penalty , SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 1 * YAPF_TILE_LENGTH, 0, 1000000, STR_NULL, NULL), SDT_CONDVAR (Patches, yapf.road_crossing_penalty , SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 3 * YAPF_TILE_LENGTH, 0, 1000000, STR_NULL, NULL), /***************************************************************************/ |