(svn r8899) -Fix

Remove the unused second parameter from GetTileRailType()
This commit is contained in:
tron
2007-02-25 11:36:19 +00:00
parent 05c6e8f883
commit c0ec367e9b
6 changed files with 8 additions and 12 deletions

View File

@@ -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;