Mercurial > hg > openttd
changeset 9385:894675416805 draft
(svn r13295) -Codechange: remove now redundant check
author | smatz <smatz@openttd.org> |
---|---|
date | Tue, 27 May 2008 19:03:06 +0000 |
parents | d4b97b15782c |
children | fd61bba394da |
files | src/station_cmd.cpp |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1683,9 +1683,6 @@ * 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;