]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/models/FGAerodynamics.cpp
Merge branch 'jmt/units-fix' into maint
[flightgear.git] / 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;
 }