diff options
author | rubidium <rubidium@openttd.org> | 2007-07-29 23:42:59 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-29 23:42:59 +0000 |
commit | 7fb3f54584fd9dd3266997cd12bd1853c18ad5bb (patch) | |
tree | 35f2cfc46313d08457c127c393370517d519fab3 /src/yapf/yapf_costrail.hpp | |
parent | d4666b51eebaf8431a0f60e342182c57215db2ef (diff) | |
download | openttd-7fb3f54584fd9dd3266997cd12bd1853c18ad5bb.tar.xz |
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
Diffstat (limited to 'src/yapf/yapf_costrail.hpp')
-rw-r--r-- | src/yapf/yapf_costrail.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yapf/yapf_costrail.hpp b/src/yapf/yapf_costrail.hpp index 8ecd4e94a..3b57fe328 100644 --- a/src/yapf/yapf_costrail.hpp +++ b/src/yapf/yapf_costrail.hpp @@ -112,7 +112,7 @@ public: if (IsDiagonalTrackdir(trackdir)) { cost += YAPF_TILE_LENGTH; switch (GetTileType(tile)) { - case MP_STREET: + case MP_ROAD: /* Increase the cost for level crossings */ if (IsLevelCrossing(tile)) cost += Yapf().PfGetSettings().rail_crossing_penalty; |