summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-05-27 19:03:06 +0000
committersmatz <smatz@openttd.org>2008-05-27 19:03:06 +0000
commitff7104865f1bc172567159db35d08d1e4aeab306 (patch)
treeea06e82d2f22465f801786f7e9948da343bd3167 /src/station_cmd.cpp
parent6180112c90cb555684e9b14837b9a2c9c2832ce8 (diff)
downloadopenttd-ff7104865f1bc172567159db35d08d1e4aeab306.tar.xz
(svn r13295) -Codechange: remove now redundant check
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp3
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;