(svn r13295) -Codechange: remove now redundant check

This commit is contained in:
smatz 2008-05-27 19:03:06 +00:00
parent 83c442cc57
commit ee904e1df5
1 changed files with 0 additions and 3 deletions

View File

@ -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;