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 | f57f10ded9aadea097c26aedf8c29c1ced81a0a7 (patch) | |
tree | 4998551e8fa72791fbe55e93cf006825ae8624f0 /docs | |
parent | c83092130bcf869b7e985a24e2273ee74d233aa3 (diff) | |
download | openttd-f57f10ded9aadea097c26aedf8c29c1ced81a0a7.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 'docs')
0 files changed, 0 insertions, 0 deletions