1
0
Fork 0

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:
durk 2006-02-23 21:42:11 +00:00
parent 1ece476355
commit 395ea07252

View file

@ -84,7 +84,7 @@ FGAIAircraft::FGAIAircraft(FGAISchedule *ref) :
FGAIAircraft::~FGAIAircraft() {
delete fp;
//delete fp;
}
void FGAIAircraft::readFromScenario(SGPropertyNode* scFileNode) {