From 7b29dcde3cef3d91dd23b3378736f378c028a16e Mon Sep 17 00:00:00 2001 From: bjarni Date: Sun, 27 Jan 2008 02:09:46 +0000 Subject: (svn r11992) -Fix (r9905): When building two rail stations close to each other (with control) so they looked like one long track trains would see them as one (spotted and fixed by eddi) --- src/station_map.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/station_map.h') 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); } -- cgit v1.2.3-54-g00ecf