(svn r3982) Fix last commit. I got confused by some strange test, which did nothing

This commit is contained in:
tron
2006-03-19 14:43:23 +00:00
parent a90e46bf03
commit ec34ed24ef
2 changed files with 13 additions and 13 deletions

View File

@@ -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;
}