diff options
-rw-r--r-- | src/station_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_map.h b/src/station_map.h index e6500d377..b4e40ccef 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -190,6 +190,7 @@ static inline bool IsCompatibleTrainStationTile(TileIndex t1, TileIndex t2) IsRailwayStationTile(t1) && IsCompatibleRail(GetRailType(t1), GetRailType(t2)) && GetRailStationAxis(t1) == GetRailStationAxis(t2) && + GetStationIndex(t1) == GetStationIndex(t2) && !IsStationTileBlocked(t1); } |