forked from mirror/OpenTTD
(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges
This commit is contained in:
@@ -1104,7 +1104,7 @@ void ConvertGroundTilesIntoWaterTiles()
|
||||
}
|
||||
}
|
||||
|
||||
static uint32 GetTileTrackStatus_Water(TileIndex tile, TransportType mode, uint sub_mode)
|
||||
static uint32 GetTileTrackStatus_Water(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
|
||||
{
|
||||
static const byte coast_tracks[] = {0, 32, 4, 0, 16, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0};
|
||||
|
||||
|
Reference in New Issue
Block a user