diff options
author | tron <tron@openttd.org> | 2007-02-17 07:45:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-02-17 07:45:18 +0000 |
commit | 72857162ddee0df447758c4261c0c5d3ce7669c3 (patch) | |
tree | cdfedf5d3384be14d0978c46e2c599f6c1265392 /src/station.h | |
parent | 3c0b59e46e8ae47ff1bb8d8e13cefb76493ada87 (diff) | |
download | openttd-72857162ddee0df447758c4261c0c5d3ce7669c3.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/station.h')
-rw-r--r-- | src/station.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/station.h b/src/station.h index 6ec5777c6..b4ac9a2b3 100644 --- a/src/station.h +++ b/src/station.h @@ -209,18 +209,8 @@ typedef enum CatchmentAeras { CA_NONE = 0, CA_BUS = 3, CA_TRUCK = 3, - CA_AIR_OILPAD = 3, CA_TRAIN = 4, - CA_AIR_HELIPORT = 4, - CA_AIR_SMALL = 4, - CA_AIR_LARGE = 5, - CA_DOCK = 5, - CA_AIR_METRO = 6, - CA_AIR_INTER = 8, - CA_AIR_COMMUTER = 4, - CA_AIR_HELIDEPOT = 4, - CA_AIR_INTERCON = 10, - CA_AIR_HELISTATION = 4, + CA_DOCK = 5 } CatchmentAera; void ModifyStationRatingAround(TileIndex tile, PlayerID owner, int amount, uint radius); |