summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-02-17 07:45:18 +0000
committertron <tron@openttd.org>2007-02-17 07:45:18 +0000
commit8aacd2585d0992dc3a87da8042369bb1830d8cd5 (patch)
treecdfedf5d3384be14d0978c46e2c599f6c1265392 /src/airport.h
parentee0739561d0ee2167f769ff0abca6302ce270581 (diff)
downloadopenttd-8aacd2585d0992dc3a87da8042369bb1830d8cd5.tar.xz
(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
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/airport.h b/src/airport.h
index ce210301d..3abe056b6 100644
--- a/src/airport.h
+++ b/src/airport.h
@@ -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)