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

[Bug]: Ship pathfinder lost entering dead end after terraforming #12333

Open
Kuhnovic opened this issue Mar 18, 2024 · 0 comments
Open

[Bug]: Ship pathfinder lost entering dead end after terraforming #12333

Kuhnovic opened this issue Mar 18, 2024 · 0 comments
Labels
component: pathfinder This issue is related to Pathfinder

Comments

@Kuhnovic
Copy link
Contributor

Version of OpenTTD

20240318-master-m107c208d87 on Win10

Expected result

The ship should either:

  • ideally avoid the dead end (but it's currently in the ship cache)
  • turn around when it detects the dead end

Actual result

image
The red area just got terraformed. The ship still has the white and yellow track dirs in its cache. It will start a new PF run when the ship is at the yellow trackdir. This PF run will fail because only the forward direction is considered.

Steps to reproduce

  1. Open ship_dead_end.sav
  2. Wait for the ship to get lost

ship_dead_end.zip

Kuhnovic added a commit to Kuhnovic/OpenTTD that referenced this issue Mar 18, 2024
Kuhnovic added a commit to Kuhnovic/OpenTTD that referenced this issue Mar 19, 2024
@2TallTyler 2TallTyler added the component: pathfinder This issue is related to Pathfinder label Mar 25, 2024
Kuhnovic added a commit to Kuhnovic/OpenTTD that referenced this issue Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pathfinder This issue is related to Pathfinder
Projects
None yet
Development

No branches or pull requests

2 participants