Bugfix: variable fp was deleted in both AIBase::~AIBase() and AIAircraft::AIAircraft(), resulting in a segmentation fault.
Here the delete fp; statement is removed from the AIAircraft() destructor.
This commit is contained in:
parent
1ece476355
commit
395ea07252
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ FGAIAircraft::FGAIAircraft(FGAISchedule *ref) :
|
|||
|
||||
|
||||
FGAIAircraft::~FGAIAircraft() {
|
||||
delete fp;
|
||||
//delete fp;
|
||||
}
|
||||
|
||||
void FGAIAircraft::readFromScenario(SGPropertyNode* scFileNode) {
|
||||
|
|
Loading…
Add table
Reference in a new issue