Fix: reset roadtype/streetcartype info for non-road bridges #8111
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Roadtype information in m4/m8 is potentially wrong for all non-road bridges build before the introduction of NRT, even if they've been saved in a later version.
TTD savegames like the one from #8108 demonstrate this. If you use the land area information tile on a rail bridge, it shows road/streetcar type lines that should not be there.
Rail type...
rail speed limit...
Road type: Road
Streetcar type: Road
Not sure how to go about the current "apply fix for everything up to but including the current savegame level" bit. I could bump the savegame version, which is slightly cleaner. Or we could leave this as is and remove the extern/change the if the next time the savegame level gets bumped.