-
-
Notifications
You must be signed in to change notification settings - Fork 844
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]: CreateRandomPath not updating tile nor dir for each step it advances #12279
Comments
SamuXarick
changed the title
[Bug]: CreateRandomPath not updating tile nor dir for each step it advances, GetRandomFollowUpTrackdir forbids 90 degree turns even when it's the only choice
[Bug]: CreateRandomPath not updating tile nor dir for each step it advances
Mar 12, 2024
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 12, 2024
CreateRandomPath tile and trackdir aren't being updated for each step it advances, generating a bad path_cache as a result. Move to the next tile and retrieve the next trackdirs available each step.
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 12, 2024
CreateRandomPath tile and trackdir aren't being updated for each step it advances, generating a bad path_cache as a result. Move to the next tile and retrieve the next trackdirs available each step.
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 13, 2024
CreateRandomPath tile and trackdir aren't being updated for each step it advances, generating a bad path_cache as a result. Move to the next tile and retrieve the next trackdirs available each step.
SamuXarick
added a commit
to SamuXarick/OpenTTD
that referenced
this issue
Mar 13, 2024
CreateRandomPath tile and trackdir aren't being updated for each step it advances, generating a bad path_cache as a result. Move to the next tile and retrieve the next trackdirs available each step.
2TallTyler
pushed a commit
that referenced
this issue
Mar 13, 2024
michicc
pushed a commit
to michicc/OpenTTD
that referenced
this issue
Mar 16, 2024
michicc
pushed a commit
that referenced
this issue
Mar 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of OpenTTD
OpenTTD 20240312-master-g1addeddc07
Expected result
Move to the next tile and retrieve the next trackdirs available each step.
Actual result
CreateRandomPath
tile
andtrackdir
aren't being updated for each step it advances, generating a badpath_cache
as a result.Steps to reproduce
it's not updating
tile
nordir
for each time it advances, also, going north should alternate betweenTRACKDIR_LEFT_N
andTRACKDIR_RIGHT_N
:look at ship 3.zip
The text was updated successfully, but these errors were encountered: