From 585b036c90b9984bf5a1ecc79e6932182fa8adc0 Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 5 Mar 2010 23:21:51 +0000 Subject: (svn r19327) -Codechange: make the oilrig a part of the original airports array so some special cases can be removed --- src/newgrf_airport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/newgrf_airport.h') 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); -- cgit v1.2.3-54-g00ecf