(svn r4758) - Newstations: add support for 'blocked' station tiles, which no train can pass.
This commit is contained in:
@@ -2124,6 +2124,8 @@ static uint32 GetTileTrackStatus_Station(TileIndex tile, TransportType mode)
|
||||
switch (mode) {
|
||||
case TRANSPORT_RAIL:
|
||||
if (IsRailwayStation(tile)) {
|
||||
if (IsStationTileBlocked(tile)) return 0;
|
||||
|
||||
return TrackToTrackBits(GetRailStationTrack(tile)) * 0x101;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user