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: Prevent train reversing when wholly inside a train depot #9557

Merged
merged 1 commit into from Sep 18, 2021

Conversation

TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Sep 18, 2021

Motivation / Problem

Fix #9520.

Description

I simply cherry-picked JGRennison/OpenTTD-patches@fea967b without much validation from my side.

Limitations

Checklist for review

Some things are not automated, and forgotten often. This list is a reminder for the reviewers.

  • The bug fix is important enough to be backported? (label: 'backport requested')
  • This PR touches english.txt or translations? Check the guidelines
  • This PR affects the save game format? (label 'savegame upgrade')
  • This PR affects the GS/AI API? (label 'needs review: Script API')
    • ai_changelog.hpp, gs_changelog.hpp need updating.
    • The compatibility wrappers (compat_*.nut) need updating.
  • This PR affects the NewGRF API? (label 'needs review: NewGRF')

@TrueBrain
Copy link
Member Author

@JGRennison am I right to assume this is the only commit needed to fix the issue?

@JGRennison
Copy link
Contributor

@JGRennison am I right to assume this is the only commit needed to fix the issue?

Yes, this is enough to fix the problem.

@TrueBrain TrueBrain added this to the 12.0 milestone Sep 18, 2021
@TrueBrain TrueBrain merged commit 7acdaaa into OpenTTD:master Sep 18, 2021
@TrueBrain TrueBrain deleted the fix-reverse-depot branch September 18, 2021 13:56
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.

[Bug]: Wrong unreservation behaviour when reversing a train inside a depot when an incoming reservation exists
3 participants