From 7af1f496e8489c99e9c289b131f7da6197ed710c Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 28 Nov 2009 14:35:52 +0000 Subject: [PATCH] PreLoad and PostLoad also from a separate file. --- src/FDM/JSBSim/models/FGAerodynamics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FDM/JSBSim/models/FGAerodynamics.cpp b/src/FDM/JSBSim/models/FGAerodynamics.cpp index ab2381ce4..a793cce2f 100644 --- a/src/FDM/JSBSim/models/FGAerodynamics.cpp +++ b/src/FDM/JSBSim/models/FGAerodynamics.cpp @@ -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; }