(svn r3982) Fix last commit. I got confused by some strange test, which did nothing
This commit is contained in:
@@ -1991,7 +1991,7 @@ static uint32 GetTileTrackStatus_Track(TileIndex tile, TransportType mode)
|
||||
return ret;
|
||||
} else {
|
||||
if (GetRailTileSubtype(tile) == RAIL_SUBTYPE_DEPOT) {
|
||||
return 0;
|
||||
return (DiagDirToAxis(GetRailDepotDirection(tile)) == AXIS_X ? TRACK_BIT_X : TRACK_BIT_Y) * 0x101;
|
||||
} else {
|
||||
return GetRailWaypointBits(tile) * 0x101;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user