diff options
author | tron <tron@openttd.org> | 2007-02-25 11:36:19 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-25 11:36:19 +0000 |
commit | 3ce4baa9fc9b8973503fdaea37a408ff0852c659 (patch) | |
tree | 7356de7ae644522ac46c52158203c96f0a69cb23 /src/yapf/follow_track.hpp | |
parent | 1ce43c1a3754499902a2749f9db3c426595ab02f (diff) | |
download | openttd-3ce4baa9fc9b8973503fdaea37a408ff0852c659.tar.xz |
(svn r8899) -Fix
Remove the unused second parameter from GetTileRailType()
Diffstat (limited to 'src/yapf/follow_track.hpp')
-rw-r--r-- | src/yapf/follow_track.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yapf/follow_track.hpp b/src/yapf/follow_track.hpp index 99c6ea20e..4e0a29a87 100644 --- a/src/yapf/follow_track.hpp +++ b/src/yapf/follow_track.hpp @@ -173,7 +173,7 @@ protected: // 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; |