(svn r19324) -Codechange: introduce AirportSpec::GetWithoutOverride to get a non-const pointer to a given airportspec

This commit is contained in:
yexo
2010-03-05 23:21:30 +00:00
parent e69d50d86b
commit 20dd63a590
2 changed files with 16 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ struct AirportSpec {
TTDPAirportType ttd_airport_type; ///< ttdpatch airport type (Small/Large/Helipad/Oilrig)
static const AirportSpec *Get(byte type);
static AirportSpec *GetWithoutOverride(byte type);
bool IsAvailable() const;