diff options
author | smatz <smatz@openttd.org> | 2008-05-27 19:03:06 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-27 19:03:06 +0000 |
commit | ff7104865f1bc172567159db35d08d1e4aeab306 (patch) | |
tree | ea06e82d2f22465f801786f7e9948da343bd3167 /src | |
parent | 6180112c90cb555684e9b14837b9a2c9c2832ce8 (diff) | |
download | openttd-ff7104865f1bc172567159db35d08d1e4aeab306.tar.xz |
(svn r13295) -Codechange: remove now redundant check
Diffstat (limited to 'src')
-rw-r--r-- | src/station_cmd.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 97b0bd9c6..30faf25d3 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1683,9 +1683,6 @@ uint8 GetAirportNoiseLevelForTown(const AirportFTAClass *afc, TileIndex town_til * an actual decrease can be granted */ uint8 town_tolerance_distance = 8 + (_settings.difficulty.town_council_tolerance * 4); - /* The airport is in the "inner" distance where there is no noise reduction */ - if (distance < town_tolerance_distance) return afc->noise_level; - /* now, we want to have the distance segmented using the distance judged bareable by town * This will give us the coefficient of reduction the distance provides. */ uint noise_reduction = distance / town_tolerance_distance; |