From 8aacd2585d0992dc3a87da8042369bb1830d8cd5 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 17 Feb 2007 07:45:18 +0000 Subject: (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 --- src/station.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/station.h') 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); -- cgit v1.2.3-54-g00ecf