From ff7104865f1bc172567159db35d08d1e4aeab306 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 27 May 2008 19:03:06 +0000 Subject: (svn r13295) -Codechange: remove now redundant check --- src/station_cmd.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/station_cmd.cpp') 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; -- cgit v1.2.3-54-g00ecf