mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r5066) -Feature: [YAPF] Train selects the best station platform by length
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
||||
if (F.m_new_tile == n.m_key.m_tile && new_td == n.m_key.m_td) return false;
|
||||
|
||||
// if we skipped some tunnel tiles, add their cost
|
||||
segment_cost += 10 * F.m_tunnel_tiles_skipped;
|
||||
segment_cost += 10 * F.m_tiles_skipped;
|
||||
|
||||
// add hilly terrain penalty
|
||||
segment_cost += Yapf().SlopeCost(tile, F.m_new_tile, trackdir);
|
||||
|
Reference in New Issue
Block a user