changeset 6480 | 767cfeae4dbf |
parent 6447 | 3b71e57fd22b |
child 6585 | 7da94b26498a |
--- 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;