(svn r18857) -Codechange: don't rely on the fact that all airports are rectangular
This commit is contained in:
@@ -121,6 +121,11 @@ public:
|
||||
return IsRailStationTile(tile) && GetStationIndex(tile) == this->index;
|
||||
}
|
||||
|
||||
/* virtual */ FORCEINLINE bool TileBelongsToAirport(TileIndex tile) const
|
||||
{
|
||||
return IsAirportTile(tile) && GetStationIndex(tile) == this->index;
|
||||
}
|
||||
|
||||
/* virtual */ uint32 GetNewGRFVariable(const ResolverObject *object, byte variable, byte parameter, bool *available) const;
|
||||
|
||||
/* virtual */ void GetTileArea(TileArea *ta, StationType type) const;
|
||||
|
Reference in New Issue
Block a user