diff options
author | yexo <yexo@openttd.org> | 2010-03-05 23:21:51 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-03-05 23:21:51 +0000 |
commit | 585b036c90b9984bf5a1ecc79e6932182fa8adc0 (patch) | |
tree | df4b7bd9a7b682d76ec4209622545fe90e825209 /src/newgrf_airport.h | |
parent | c42e2a9bfc2114d54257832a644d485244c0c537 (diff) | |
download | openttd-585b036c90b9984bf5a1ecc79e6932182fa8adc0.tar.xz |
(svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r-- | src/newgrf_airport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h index 358ecd2d6..cb542f316 100644 --- a/src/newgrf_airport.h +++ b/src/newgrf_airport.h @@ -61,6 +61,8 @@ struct AirportSpec { StringID name; ///< name of this airport TTDPAirportType ttd_airport_type; ///< ttdpatch airport type (Small/Large/Helipad/Oilrig) AirportClassID aclass; ///< the class to which this airport type belongs + /* Newgrf data */ + bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though static const AirportSpec *Get(byte type); static AirportSpec *GetWithoutOverride(byte type); |