summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-05 23:21:41 +0000
committeryexo <yexo@openttd.org>2010-03-05 23:21:41 +0000
commitc42e2a9bfc2114d54257832a644d485244c0c537 (patch)
treedfad204707d0ef02b94c5dda7a891aaa52488bb2 /src/newgrf_airport.h
parenta71462bb94e0b1551cdf74734d205eb807915bf7 (diff)
downloadopenttd-c42e2a9bfc2114d54257832a644d485244c0c537.tar.xz
(svn r19326) -Codechange: store the airport name as property in AirportSpec
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r--src/newgrf_airport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h
index 52bdd2e99..358ecd2d6 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -58,6 +58,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
+ 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