FS#6439 - Aircraft will not move if company is bought while displaying "too far to next destination"

Attached to Project: OpenTTD
Opened by J Downie (donchatryit) - Tuesday, 05 April 2016, 19:59 GMT
Last edited by andythenorth (andythenorth) - Thursday, 31 August 2017, 06:20 GMT
Type Bug
Category Vehicles
Status With patch
Assigned To No-one
Operating System Windows
Severity Medium
Priority Normal
Reported Version 1.5.3
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Hi there,

During one recent game, I bought over an AI so I could get their airports. What I didn't realise was they they still had two aircraft on the ground, displaying the "Too far to next destination" message. As they had no airports within range, I send both aircraft to their depots. They still displayed the same flag and didn't move.

I think deleted all their orders, replacing them with orders to go to their nearest depot and stop. They didn't move and displayed the same flag. Is this a known bug? Save file and screen cap attached.
This task depends upon

Comment by Hans (hackalittlebit) - Sunday, 17 April 2016, 13:42 GMT
This patch will solve the problem
Problem is Pikka's airplane patch that use distance limits.
Comment by Hans (hackalittlebit) - Sunday, 17 April 2016, 14:29 GMT
I did not really have time to look at it.
I got it out of my waypoint air patch
I will have a look at it to improve it for trunk.

It happened to me also when loading Pikka's airplane newgrf.
He uses distance limits and all planes got stuck.
This plane will release airplanes stuck on the platform.
Duno if this is what you want.

You don't allow me to delete files, so it is the last patch.
Don't ask me what happened????
regards ;-)
Comment by Hans (hackalittlebit) - Monday, 18 April 2016, 11:17 GMT
If you click 'send to hangar' plane starts moving. (unpause game)
With clean trunk!
Comment by Hans (hackalittlebit) - Monday, 18 April 2016, 11:51 GMT
Here a savegame that I made after big clean.
Delete openttd.cfg before starting game -d0 mode.
25 march plane 1 (dunby transport) from still stuck.
on 1 of april plane suddenly starts moving. (after autosave)
Trunk 27539
Hope this helps