-
-
Notifications
You must be signed in to change notification settings - Fork 852
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: Aircraft crash counter was too low to reach ground. #12425
Conversation
By the looks of it, the effects on saves are more widespread.
The first one seems the most annoying, the crash animation being played a second time might not be that troublesome. Though... the point of this change/fix is that it removes the limitation on falling down. Why not reset the counter to 0 when |
ec9c6d1
to
7449734
Compare
My mentioning that checking of |
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low. Instead reset the counter until the aircraft reaches the ground, then continue the timer.
7449734
to
27193cd
Compare
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low. Instead reset the counter until the aircraft reaches the ground, then continue the timer.
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low. Instead reset the counter until the aircraft reaches the ground, then continue the timer.
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low. Instead reset the counter until the aircraft reaches the ground, then continue the timer.
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low. Instead reset the counter until the aircraft reaches the ground, then continue the timer.
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low. Instead reset the counter until the aircraft reaches the ground, then continue the timer.
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low. Instead reset the counter until the aircraft reaches the ground, then continue the timer.
Motivation / Problem
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low.
Description
Increase to an arbitrary higher value. When the aircraft reaches the ground the counter already skips ahead, so this does not increase the time it tasks to disappear after reaching the ground.The counter is now reset while falling, and when the ground is reached it skips ahead to continue the normal counter processing.
Limitations
This could affect savegames slightly where an aircraft is up to half-way through the original crash counter limit, as it can then continue falling to the ground and will restart the final cleanup timer.Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.