diff options
author | rubidium <rubidium@openttd.org> | 2007-08-31 12:45:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-31 12:45:21 +0000 |
commit | a0831a35a2f31e2447691c0cfd20e52adecee149 (patch) | |
tree | d7121b38c59fb1d32c00303d68f83e3235bcc381 /src/station.h | |
parent | 732845440a15f0c627b6cca08dabff51beac735a (diff) | |
download | openttd-a0831a35a2f31e2447691c0cfd20e52adecee149.tar.xz |
(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.
Diffstat (limited to 'src/station.h')
-rw-r--r-- | src/station.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/station.h b/src/station.h index 71abc5750..bbae591d6 100644 --- a/src/station.h +++ b/src/station.h @@ -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); |