- when dynamics shuts down the ATC controllers, they clear their
traffic vectors (destroying the records), but we didn’t notify
the AI aircraft of this. Ensure the controller is cleared so
the AI aircraft shutdown doesn’t crash.
FGTrafficRecord::~FGTrafficRecord()
{
FGTrafficRecord::~FGTrafficRecord()
{
+ if (aircraft) {
+ aircraft->clearATCController();
+ }
}
void FGTrafficRecord::setPositionAndIntentions(int pos,
}
void FGTrafficRecord::setPositionAndIntentions(int pos,