From: ehofman Date: Thu, 15 Oct 2009 13:36:52 +0000 (+0000) Subject: This is the looping fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b7079aef7a7b624f23cc34f18ef2fe7aa1f05ee1;p=flightgear.git This is the looping fix. --- diff --git a/src/FDM/JSBSim/models/propulsion/FGEngine.cpp b/src/FDM/JSBSim/models/propulsion/FGEngine.cpp index fb2c5226e..fd7290029 100644 --- a/src/FDM/JSBSim/models/propulsion/FGEngine.cpp +++ b/src/FDM/JSBSim/models/propulsion/FGEngine.cpp @@ -219,7 +219,7 @@ void FGEngine::ConsumeFuel(void) } // check if we were not able to burn all the fuel we needed to at this priority level - if (FuelToBurn > 0.001) { + if (FuelToBurn > 0.0) { CurrentPriority++; TanksWithFuel = 0; FeedList.clear();