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

NPF - no path to depot from tunnel #290

Closed
DorpsGek opened this issue Aug 19, 2006 · 3 comments
Closed

NPF - no path to depot from tunnel #290

DorpsGek opened this issue Aug 19, 2006 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Darkvater opened the ticket and wrote:

When a roadvehicles is inside a tunnel and a depot is facing the other way, eg going away from the depot, pressing the goto depot button results in a non-found path. Finding a depot works both for the old PF and for YAPF.

D---/----+----

D = depot
- = road
/- = tunnel
+ - vehicle

Reported version: 0.4.8
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/290
@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 2, 2006

Darkvater wrote:

Both NPF and old PF don't seem to work in r7035


This comment was imported from FlySpray: https://bugs.openttd.org/task/290#comment553

@DorpsGek
Copy link
Member Author

matthijs wrote:

Looking more closely I find that this does indeed not work with NPF, but tunnels are not related to the issue. NPF will not find a depot at its back when outside of a tunnel either. OPF, however, does find the depot, unless it is in a tunnel then it won't work.

Interestingly enough, this seems to have never worked at all with NPF, while the feature is already there, just never called. So, the fix is quite trivial for NPF.

The fix for OPF is a little more messy, but not so complicated either.


This comment was imported from FlySpray: https://bugs.openttd.org/task/290#comment1468

@DorpsGek
Copy link
Member Author

matthijs closed the ticket.

Reason for closing: Fixed

Fixed in r10345.


This comment was imported from FlySpray: https://bugs.openttd.org/task/290

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant