summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-03-02 20:31:05 +0000
committerfrosch <frosch@openttd.org>2010-03-02 20:31:05 +0000
commit4559dfe7e77f73494872565eec2b63658c336ab3 (patch)
tree3d48f29218ee986bda0c5a624baad098a9213425 /src/newgrf_airport.h
parent0ed2e41f45ac328399c37624d1a816831fbe4558 (diff)
downloadopenttd-4559dfe7e77f73494872565eec2b63658c336ab3.tar.xz
(svn r19303) -Codechange: Silence a gcc warning.
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r--src/newgrf_airport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h
index 3404098bd..4876418de 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -24,7 +24,7 @@ struct AirportTileTable {
};
/** TTDP airport types. Used to map our types to TTDPatch's */
-enum {
+enum TTDPAirportType {
ATP_TTDP_SMALL, ///< Same as AT_SMALL
ATP_TTDP_LARGE, ///< Same as AT_LARGE
ATP_TTDP_HELIPORT, ///< Same as AT_HELIPORT
@@ -44,7 +44,7 @@ struct AirportSpec {
byte catchment; ///< catchment area of this airport
Year min_year; ///< first year the airport is available
Year max_year; ///< last year the airport is available
- byte ttd_airport_type; ///< ttdpatch airport type (Small/Large/Helipad/Oilrig)
+ TTDPAirportType ttd_airport_type; ///< ttdpatch airport type (Small/Large/Helipad/Oilrig)
static const AirportSpec *Get(byte type);