summaryrefslogtreecommitdiff
path: root/airport.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-18 12:19:04 +0000
committertron <tron@openttd.org>2004-12-18 12:19:04 +0000
commit376c5adb7ce86c3179dc38151c0ef15ef6f4f723 (patch)
tree6a21be6023198b75c0e6ac1463e0798005629948 /airport.h
parent64f98e058d8f54a23645614b09287f059893b9ab (diff)
downloadopenttd-376c5adb7ce86c3179dc38151c0ef15ef6f4f723.tar.xz
(svn r1149) Fix hack which abuses first TileIndex of airport depot array as number of depots (similar change as in map branch)
Diffstat (limited to 'airport.h')
-rw-r--r--airport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/airport.h b/airport.h
index 128bd8c3e..38bb62f45 100644
--- a/airport.h
+++ b/airport.h
@@ -32,7 +32,8 @@ typedef struct AirportFTAClass {
byte nofhelipadgroups; // helipads belong to so many groups (MAX is the nofhelipads)
byte entry_point; // when an airplane arrives at this airport, enter it at position entry_point
byte acc_planes; // accept airplanes or helicopters or both
- const uint16 *airport_depots; // gives the position of the depots on the airports
+ const TileIndex *airport_depots; // gives the position of the depots on the airports
+ byte nof_depots; // number of depots this airport has
struct AirportFTA *layout; // state machine for airport
} AirportFTAClass;