changeset 14718:ea0af23a3f13 draft

(svn r19303) -Codechange: Silence a gcc warning.
author frosch <frosch@openttd.org>
date Tue, 02 Mar 2010 20:31:05 +0000
parents f380073a1ea4
children d7fe1cfb9b4e
files src/newgrf_airport.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -24,7 +24,7 @@
 };
 
 /** 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 @@
 	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);