summaryrefslogtreecommitdiff
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
commitee904e1df5da48e7e055aa649833d95626a0deab (patch)
treeea06e82d2f22465f801786f7e9948da343bd3167
parent83c442cc57e456926af09c83d0a68d67dd425973 (diff)
downloadopenttd-ee904e1df5da48e7e055aa649833d95626a0deab.tar.xz
(svn r13295) -Codechange: remove now redundant check
-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;