OpenTTD

Tasklist

FS#6636 - airplane going for helistation depot

Attached to Project: OpenTTD
Opened by Ricardo (Samu) - Tuesday, 07 November 2017, 15:42 GMT
Type Bug
Category Vehicles
Status New
Assigned To No-one
Operating System Windows
Severity Very Low
Priority Normal
Reported Version 1.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

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.
This task depends upon

Comment by Ricardo (Samu) - Tuesday, 07 November 2017, 16:14 GMT
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.

Loading...