diff options
author | bjarni <bjarni@openttd.org> | 2008-01-27 02:09:46 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2008-01-27 02:09:46 +0000 |
commit | 7b29dcde3cef3d91dd23b3378736f378c028a16e (patch) | |
tree | 31e30c441949589ce630e30a8e23ec074eda1eff | |
parent | 97a1cbdfa10f935150457147d8b903a5b9c8806e (diff) | |
download | openttd-7b29dcde3cef3d91dd23b3378736f378c028a16e.tar.xz |
(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)
-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); } |