summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-06-16 17:53:40 +0000
committermatthijs <matthijs@openttd.org>2005-06-16 17:53:40 +0000
commitfc5784a3103d5e4fc0dbfec5f905a6ebbfd9c84b (patch)
treeb393c22d92fe82d6de7c2c0eef53d90bfd8e3430 /settings.c
parent085cc7ca0ef7e9ac88d197669177fc8d7d8266f8 (diff)
downloadopenttd-fc5784a3103d5e4fc0dbfec5f905a6ebbfd9c84b.tar.xz
(svn r2447) * Add: [NPF] Penalty for road vehicles making turns.
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings.c b/settings.c
index 0358d0fca..d63662597 100644
--- a/settings.c
+++ b/settings.c
@@ -975,6 +975,8 @@ const SettingDesc patch_settings[] = {
* rail curve penalty, since ships (realisticly) have more trouble with
* making turns */
{"npf_water_curve_penalty", SDT_UINT32, (void*)(NPF_TILE_LENGTH / 4), &_patches.npf_water_curve_penalty, NULL},
+ /* This is the penalty for road, same as for rail. */
+ {"npf_road_curve_penalty", SDT_UINT32, (void*)(1), &_patches.npf_road_curve_penalty, NULL},
{NULL, 0, NULL, NULL, NULL}
};