]> git.mxchange.org Git - flightgear.git/commitdiff
Bugfix: variable fp was deleted in both AIBase::~AIBase() and AIAircraft::AIAircraft...
authordurk <durk>
Thu, 23 Feb 2006 21:42:11 +0000 (21:42 +0000)
committerdurk <durk>
Thu, 23 Feb 2006 21:42:11 +0000 (21:42 +0000)
Here the delete fp; statement is removed from the AIAircraft() destructor.

src/AIModel/AIAircraft.cxx

index ba77d61302089bb2d75a12fe3e3228e028936d22..2e465eea09a4bdb0e5d89ce8be30359a87a51f32 100644 (file)
@@ -84,7 +84,7 @@ FGAIAircraft::FGAIAircraft(FGAISchedule *ref) :
 
 
 FGAIAircraft::~FGAIAircraft() {
-  delete fp;
+  //delete fp;
 }
 
 void FGAIAircraft::readFromScenario(SGPropertyNode* scFileNode) {