diff options
author | KUDr <KUDr@openttd.org> | 2006-06-01 21:39:35 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-06-01 21:39:35 +0000 |
commit | 10185f6c1173965062400cf4e6a5e5eab4659749 (patch) | |
tree | 62d7336add925121331528ae4303d15bda9672ac /yapf/yapf_road.cpp | |
parent | 60957de40964e422978a6d754cb2f27c06466dab (diff) | |
download | openttd-10185f6c1173965062400cf4e6a5e5eab4659749.tar.xz |
(svn r5066) -Feature: [YAPF] Train selects the best station platform by length
Diffstat (limited to 'yapf/yapf_road.cpp')
-rw-r--r-- | yapf/yapf_road.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapf/yapf_road.cpp b/yapf/yapf_road.cpp index 3cedb6719..3f2a9fe40 100644 --- a/yapf/yapf_road.cpp +++ b/yapf/yapf_road.cpp @@ -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); |