From fee2844ec30b4e4cc0190655ef8441b4aa072d96 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Mon, 3 Dec 2012 09:28:48 +0100 Subject: [PATCH] Fix #953. --- src/FDM/YASim/FGFDM.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FDM/YASim/FGFDM.cpp b/src/FDM/YASim/FGFDM.cpp index 00c818ff8..ab62a33b6 100644 --- a/src/FDM/YASim/FGFDM.cpp +++ b/src/FDM/YASim/FGFDM.cpp @@ -131,7 +131,7 @@ void FGFDM::init() // Allows the user to start with something other than full fuel _airplane.setFuelFraction(fgGetFloat("/sim/fuel-fraction", 1)); - // Read out the resulting fuel state and stash engine/thruster properties + // stash engine/thruster properties _thrust_props.clear(); for (int i=0; i<_thrusters.size(); i++) { SGPropertyNode_ptr node = fgGetNode("engines/engine", i, true); @@ -173,8 +173,8 @@ void FGFDM::init() _thrust_props.push_back(tp); } - // stash properties for engines/fuel state - _thrust_props.clear(); + // stash properties for fuel state + _fuel_props.clear(); for(int i=0; i<_airplane.numThrusters(); i++) { SGPropertyNode_ptr e = fgGetNode("engines/engine", i, true); FuelProps f; -- 2.39.5