(svn r11013) -Fix [FS#1171]: MoveGoodsToStation's search area is too small as it assumed a lower maximum catchment area than the real maximum catchment area. Based on a patch by PhilSophus.

This commit is contained in:
rubidium
2007-08-31 12:45:21 +00:00
parent aba867d78d
commit c19b8c72b7
2 changed files with 10 additions and 8 deletions

View File

@@ -222,7 +222,9 @@ enum CatchmentArea {
CA_BUS = 3,
CA_TRUCK = 3,
CA_TRAIN = 4,
CA_DOCK = 5
CA_DOCK = 5,
MAX_CATCHMENT = 10, ///< Airports have a catchment up to this number.
};
void ModifyStationRatingAround(TileIndex tile, PlayerID owner, int amount, uint radius);