mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(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)
This commit is contained in:
parent
97a1cbdfa1
commit
7b29dcde3c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user