Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 659989af45: Set appropriate town window dirty when building/removing airports. #9497

Merged
merged 1 commit into from Aug 18, 2021

Conversation

J0anJosep
Copy link
Contributor

@J0anJosep J0anJosep commented Aug 18, 2021

Motivation / Problem

When building or removing airports and airport noise setting is on, the invalidated town window is not right.

The noise generated by an airport is applied to the nearest town to the airport and not to the town associated to the station (see commit 659989a).

Description

Invalidate the town window where the noise is really applied to.

LordAro
LordAro previously approved these changes Aug 18, 2021
src/station_cmd.cpp Outdated Show resolved Hide resolved
@michicc michicc merged commit cc38a42 into OpenTTD:master Aug 18, 2021
michicc added a commit to TrueBrain/OpenTTD that referenced this pull request Aug 19, 2021
michicc added a commit to michicc/OpenTTD that referenced this pull request Aug 19, 2021
@J0anJosep J0anJosep deleted the AirportNoise branch September 8, 2021 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants