summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-27 16:18:31 +0000
committerrubidium <rubidium@openttd.org>2007-02-27 16:18:31 +0000
commit8877ef7478f253a22d6f2b2a45cccc2501eb3ada (patch)
tree4998551e8fa72791fbe55e93cf006825ae8624f0 /os
parent8eced4450609f82893fbb534c794081b82fb19d4 (diff)
downloadopenttd-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 'os')
0 files changed, 0 insertions, 0 deletions