From: Thomas Geymayer Date: Mon, 3 Dec 2012 08:28:48 +0000 (+0100) Subject: Fix #953. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fee2844ec30b4e4cc0190655ef8441b4aa072d96;p=flightgear.git Fix #953. --- 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;