(svn r2447) * Add: [NPF] Penalty for road vehicles making turns.

This commit is contained in:
matthijs
2005-06-16 17:53:40 +00:00
parent 085cc7ca0e
commit fc5784a310
3 changed files with 7 additions and 2 deletions

View File

@@ -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}
};