forked from OpenTTD/OpenTTD
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OpenTTD#6493: CheckIfAircraftNeedsService - Try to service aircra…
…ft at a hangar outside the order list If a helicopter needs to be sent to a hangar during automatic service, and there are no airports with hangars in the orders (travelling between heliports), a nearby hangar outside the orders will be searched. If the distance to a found hangar is shorter than the distance to the helistation/airport the helicopter is headed to, the helicopter is sent to that hangar.
- Loading branch information
1 parent
40d2078
commit 3019f2b
Showing
1 changed file
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters