diff options
author | yexo <yexo@openttd.org> | 2010-03-05 23:21:23 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-03-05 23:21:23 +0000 |
commit | 664934e6f6c24aa63b0bd3b3e4a0333eab53d612 (patch) | |
tree | 3db50490dede46651b27580983401f48150ce5a8 /src/newgrf_airport.h | |
parent | 308781664b6b316f6f13822d292f3c5c787d62c9 (diff) | |
download | openttd-664934e6f6c24aa63b0bd3b3e4a0333eab53d612.tar.xz |
(svn r19323) -Codechange: copy the AirportSpec original array to an internal array in AirportSpec
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r-- | src/newgrf_airport.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h index 4876418de..ae72a3e94 100644 --- a/src/newgrf_airport.h +++ b/src/newgrf_airport.h @@ -50,8 +50,13 @@ struct AirportSpec { bool IsAvailable() const; + static void ResetAirports(); + static AirportSpec dummy; static AirportSpec oilrig; + +private: + static AirportSpec specs[NUM_AIRPORTS]; }; |