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 #7619: nudge fast planes sooner towards their target #8531

Merged
merged 1 commit into from Jan 11, 2021

Commits on Jan 8, 2021

  1. Fix OpenTTD#7619: nudge fast planes sooner towards their target

    For non-NewGRF planes, "count" is never above 1. So planes can
    smoothly be guided to their destination. For NewGRF planes, they
    can go as quick as "count" values of 20. This easily overshoots
    the target. So, calculate if the plane will overshoot, and start
    nudging him to the destination earlier. You won't notice this
    either way, as it all happens within a single tick.
    TrueBrain committed Jan 8, 2021
    Copy the full SHA
    6c492d7 View commit details
    Browse the repository at this point in the history