diff options
author | yexo <yexo@openttd.org> | 2010-03-05 23:21:30 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-03-05 23:21:30 +0000 |
commit | d03d990f33d9224295e90a1111394206a7cbfd42 (patch) | |
tree | 01a8691395273e77b0400d16ad6fe6885b2206fd /src/newgrf_airport.h | |
parent | 664934e6f6c24aa63b0bd3b3e4a0333eab53d612 (diff) | |
download | openttd-d03d990f33d9224295e90a1111394206a7cbfd42.tar.xz |
(svn r19324) -Codechange: introduce AirportSpec::GetWithoutOverride to get a non-const pointer to a given airportspec
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r-- | src/newgrf_airport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h index ae72a3e94..bdbaafd64 100644 --- a/src/newgrf_airport.h +++ b/src/newgrf_airport.h @@ -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; |