diff options
author | rubidium <rubidium@openttd.org> | 2007-02-27 16:18:31 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-27 16:18:31 +0000 |
commit | 8877ef7478f253a22d6f2b2a45cccc2501eb3ada (patch) | |
tree | 4998551e8fa72791fbe55e93cf006825ae8624f0 /Makefile.src.in | |
parent | 8eced4450609f82893fbb534c794081b82fb19d4 (diff) | |
download | openttd-8877ef7478f253a22d6f2b2a45cccc2501eb3ada.tar.xz |
(svn r8921) -Fix (FS#654): several issues related to removing all orders from an aircraft and removing the airport it was heading:
- the aircraft would go to (0, 0) and circle there. Clicking the 'eye' to jump to the aircraft in the main window could cause a segmentation fault.
- when rebuilding an airport with the StationID of the old airport could crash as the FTA state of the aircraft is higher than the number of states of the new airport, causing a crash of all clients and the server when assertions are enabled.
- when rebuilding an airport with the StationID of the old airport can bring the aircraft in a state where is keeps circling the airport.
To solve these issues all aircraft without a valid order will try to go to the nearest hangar it can safely get to (large jets do not land on small airports). If there is no hangar to go to, the airplane crashes (out of fuel).
Diffstat (limited to 'Makefile.src.in')
0 files changed, 0 insertions, 0 deletions