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

airplane going for helistation depot #6636

Closed
DorpsGek opened this issue Nov 7, 2017 · 2 comments
Closed

airplane going for helistation depot #6636

DorpsGek opened this issue Nov 7, 2017 · 2 comments
Labels

Comments

@DorpsGek
Copy link

@DorpsGek DorpsGek commented Nov 7, 2017

Samu opened the ticket and wrote:

Steps to reproduce:

Build 2 airports, A and B and have an airplane going from A to B.
Build an helidepot, C, between A and B.

When airplane is heading to B, and is closer to C than A, demolish B.
Send airplane to hangar.

Bug: Airplane tries to go to C, but that is an helidepot and can't land there.

I attach a savegame, set to reproduce the bug. Demolish the airport located south, then send airplane to hangar to have it trigger the bug.

Attachments

Reported version: 1.7.1
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/6636
@DorpsGek

This comment has been minimized.

Copy link
Author

@DorpsGek DorpsGek commented Nov 7, 2017

Samu wrote:

There is another bug related to this.

Build 2 airports, A and B and have an airplane going from A to B.

When airplane is heading to B, demolish airport B, and replace it with an helidepot B in its place.
Send airplane to hangar.

Bug: Airplane still tries to go to B, but that is no longer an airport, it's now a helidepot and can't land there.

I attach my proposed fix to deal with these two bugs.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6636#comment14798
@andythenorth

This comment has been minimized.

Copy link
Contributor

@andythenorth andythenorth commented Jan 12, 2019

Ok this is referenced by #6925

Removing 'stale' and 'patch from flyspray' as no longer relevant labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.