1
0
Fork 0

AI traffic refused to take-off, because the TrafficRecord destructor would unassign an AIAircraft from it's ATC. This caused it to get stuck in front of the runway and block all other traffic.

This patch may introduce an occasional crash on exit again, because it effectively undoes commit [a972df]. I'll try to find a better fix for that later on.
This commit is contained in:
Durk Talsma 2016-03-06 21:23:26 +01:00
parent 43b4db7ef7
commit 31c66226e1

View file

@ -190,9 +190,9 @@ FGTrafficRecord::FGTrafficRecord():
FGTrafficRecord::~FGTrafficRecord() FGTrafficRecord::~FGTrafficRecord()
{ {
if (aircraft) { //if (aircraft) {
aircraft->clearATCController(); // aircraft->clearATCController();
} //}
} }
void FGTrafficRecord::setPositionAndIntentions(int pos, void FGTrafficRecord::setPositionAndIntentions(int pos,