(svn r8899) -Fix
Remove the unused second parameter from GetTileRailType()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user