]> git.mxchange.org Git - flightgear.git/commitdiff
PreLoad and PostLoad also from a separate file.
authorehofman <ehofman>
Sat, 28 Nov 2009 14:35:52 +0000 (14:35 +0000)
committerTim Moore <timoore@redhat.com>
Sun, 29 Nov 2009 14:53:57 +0000 (15:53 +0100)
src/FDM/JSBSim/models/FGAerodynamics.cpp

index ab2381ce432ddd5d4124879d397bf617d23d4592..a793cce2f443df453b2cbc586688f02814c6b14c 100644 (file)
@@ -318,7 +318,7 @@ bool FGAerodynamics::Load(Element *element)
     document = element;
   }
 
-  FGModel::Load(element); // Perform base class Pre-Load
+  FGModel::Load(document); // Perform base class Pre-Load
 
   DetermineAxisSystem(); // Detemine if Lift/Side/Drag, etc. is used.
 
@@ -356,7 +356,7 @@ bool FGAerodynamics::Load(Element *element)
     axis_element = document->FindNextElement("axis");
   }
 
-  FGModel::PostLoad(element); // Perform base class Post-Load
+  FGModel::PostLoad(document); // Perform base class Post-Load
 
   return true;
 }