changeset 6154 | 8f4c65bdf930 |
parent 6121 | 2aae24b0881f |
child 6259 | 471b91a4b1d8 |
--- a/src/yapf/follow_track.hpp Sun Feb 25 10:49:13 2007 +0000 +++ b/src/yapf/follow_track.hpp Sun Feb 25 11:36:19 2007 +0000 @@ -173,7 +173,7 @@ // rail transport is possible only on compatible rail types if (IsRailTT()) { - RailType rail_type = GetTileRailType(m_new_tile, TrackdirToTrack(DiagdirToDiagTrackdir(m_exitdir))); + RailType rail_type = GetTileRailType(m_new_tile); if (!HASBIT(m_veh->u.rail.compatible_railtypes, rail_type)) { // incompatible rail type return false;