Codechange: Check airport layout would fit within map bounds before iterating tiles. (#7429)
This commit is contained in:
@@ -123,6 +123,7 @@ struct AirportSpec {
|
||||
static AirportSpec *GetWithoutOverride(byte type);
|
||||
|
||||
bool IsAvailable() const;
|
||||
bool IsWithinMapBounds(byte table, TileIndex index) const;
|
||||
|
||||
static void ResetAirports();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user