]> git.mxchange.org Git - flightgear.git/commitdiff
This is the looping fix.
authorehofman <ehofman>
Thu, 15 Oct 2009 13:36:52 +0000 (13:36 +0000)
committerTim Moore <timoore@redhat.com>
Fri, 16 Oct 2009 09:22:57 +0000 (11:22 +0200)
src/FDM/JSBSim/models/propulsion/FGEngine.cpp

index fb2c5226e24de14e02e29370425f776dc2e02078..fd7290029c2eac9ca5cead79a6a542bd9dcc7301 100644 (file)
@@ -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();