(svn r14456) -Fix: Obiwan in catchment-area and station-spread of docks.
This commit is contained in:
@@ -165,6 +165,11 @@ static inline bool IsDock(TileIndex t)
|
||||
return GetStationType(t) == STATION_DOCK;
|
||||
}
|
||||
|
||||
static inline bool IsDockTile(TileIndex t)
|
||||
{
|
||||
return IsTileType(t, MP_STATION) && GetStationType(t) == STATION_DOCK;
|
||||
}
|
||||
|
||||
static inline bool IsBuoy(TileIndex t)
|
||||
{
|
||||
return GetStationType(t) == STATION_BUOY;
|
||||
|
Reference in New Issue
Block a user