diff options
author | tron <tron@openttd.org> | 2004-12-18 12:19:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-12-18 12:19:04 +0000 |
commit | 376c5adb7ce86c3179dc38151c0ef15ef6f4f723 (patch) | |
tree | 6a21be6023198b75c0e6ac1463e0798005629948 /airport.h | |
parent | 64f98e058d8f54a23645614b09287f059893b9ab (diff) | |
download | openttd-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |