]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGAircraft.cpp
0429 updates from Jon.
[flightgear.git] / src / FDM / JSBSim / FGAircraft.cpp
index 0c5012cdaf4107ea1cffb90229f18637816fab45..ce8f1990b8591b96db34a53e4f575b910d892ab3 100644 (file)
@@ -150,7 +150,7 @@ FGAircraft::FGAircraft(FGFDMExec* fdmex) : FGModel(fdmex),
   AxisIdx["PITCH"] = 4;
   AxisIdx["YAW"]   = 5;
 
-  numTanks = numEngines = 0;
+  numTanks = numEngines = numSelectedFuelTanks = numSelectedOxiTanks = 0;
 }
 
 
@@ -288,7 +288,6 @@ void FGAircraft::MassChange()
     Weight += Tank[t]->GetContents();
 
   Mass = Weight / GRAVITY;
-
   // Calculate new CG here.
 
   Tw = 0;