From b7079aef7a7b624f23cc34f18ef2fe7aa1f05ee1 Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 15 Oct 2009 13:36:52 +0000 Subject: [PATCH] This is the looping fix. --- src/FDM/JSBSim/models/propulsion/FGEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5