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
[Bug]: CheckShipReverse's returned path restricts ship movement, causing it to get lost #12228
Comments
SamuXarick
changed the title
[Bug]: Issues with CheckShipReverse
[Bug]: CheckShipReverse's returned path restricts ship movement, causing it to get lost
Mar 8, 2024
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 8, 2024
…first attempt Try to mimic the same path results as ChooseShipTrack to maintain behaviour consistency.
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 11, 2024
…first attempt Try to mimic the same path results as ChooseShipTrack to maintain behaviour consistency.
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 15, 2024
…first attempt Try to mimic the same path results as ChooseShipTrack to maintain behaviour consistency.
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 16, 2024
…first attempt Try to mimic the same path results as ChooseShipTrack to maintain behaviour consistency.
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 16, 2024
…first attempt Try to mimic the same path results as ChooseShipTrack to maintain behaviour consistency.
Kuhnovic
added a commit
to Kuhnovic/OpenTTD
that referenced
this issue
Mar 18, 2024
…ys considered reversing
Kuhnovic
added a commit
to Kuhnovic/OpenTTD
that referenced
this issue
Mar 19, 2024
…der always considers reversing
Kuhnovic
added a commit
to Kuhnovic/OpenTTD
that referenced
this issue
Apr 5, 2024
…der always considers reversing
Kuhnovic
added a commit
to Kuhnovic/OpenTTD
that referenced
this issue
Apr 10, 2024
… path when it has to
Kuhnovic
added a commit
that referenced
this issue
Apr 16, 2024
glx22
pushed a commit
to glx22/OpenTTD
that referenced
this issue
Apr 18, 2024
… path when it has to
glx22
pushed a commit
to glx22/OpenTTD
that referenced
this issue
Apr 18, 2024
… path when it has to
glx22
pushed a commit
that referenced
this issue
Apr 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of OpenTTD
OpenTTD 20240307-master-g8fb26612c0
Expected result
Ship reverses when leaving Grindington Docks, meaning it's allowed to reach region
2,1
and isn't flagged as lost.CheckShipReverse
should try to mimic the same path results asChooseShipTrack
to maintain behaviour consistency.Actual result
Ship doesn't reverse when leaving Grindington Docks, moves forward and gets cornered between the two docks, flagging the ship as lost.
CheckShipReverse
restricts the path to regions2,2
and1,2
, but the ship happens to be at the top corner of region2,2
, meaning it fails to find a path, defaults to returning false to reversing.Steps to reproduce
ship checking reverse when leaving dock.zip
The text was updated successfully, but these errors were encountered: