1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(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)

This commit is contained in:
KUDr
2006-08-27 07:23:46 +00:00
parent bb30f580a4
commit d3096b84fd
3 changed files with 3 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ protected:
}
} else {
// non-diagonal trackdir
cost = YAPF_TILE_CORNER_LENGTH;
cost = YAPF_TILE_CORNER_LENGTH + Yapf().PfGetSettings().road_curve_penalty;
}
return cost;
}