(svn r8767) -Fix
-Codechange: Do not hardcode the catchment radius of airports, but hold the information in AirportFTAClass -Fix (r979): The default AI tested possible airport locations with a fixed catchment radius instead of the radius of the to be built airport
This commit is contained in:
@@ -139,7 +139,8 @@ typedef struct AirportFTAClass {
|
||||
byte nof_depots,
|
||||
uint size_x,
|
||||
uint size_y,
|
||||
byte delta_z
|
||||
byte delta_z,
|
||||
byte catchment
|
||||
);
|
||||
|
||||
~AirportFTAClass();
|
||||
@@ -162,6 +163,7 @@ typedef struct AirportFTAClass {
|
||||
byte size_x;
|
||||
byte size_y;
|
||||
byte delta_z; // Z adjustment for helicopter pads
|
||||
byte catchment;
|
||||
} AirportFTAClass;
|
||||
|
||||
DECLARE_ENUM_AS_BIT_SET(AirportFTAClass::Flags)
|
||||
|
||||
Reference in New Issue
Block a user