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:
parent
43b4db7ef7
commit
31c66226e1
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue