(svn r1149) Fix hack which abuses first TileIndex of airport depot array as number of depots (similar change as in map branch)

This commit is contained in:
tron
2004-12-18 12:19:04 +00:00
parent 0e8f0da1d6
commit 91d23f426e
4 changed files with 17 additions and 20 deletions

View File

@@ -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;