]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/TurbineEngine.cpp
Fix stall widths for the "auxilliary" (reverse flow) stalls so they
[flightgear.git] / src / FDM / YASim / TurbineEngine.cpp
index ab27c3c9d0699f41af8f885024654068fda1dc33..9b62b607ce1c251c118ee031ec877596a3b7334a 100644 (file)
@@ -30,7 +30,7 @@ void TurbineEngine::setOutputFromN2()
 {
     float frac = (_n2 - _n2Min) / (_n2Max - _n2Min);
     _torque = frac * _maxTorque * (_rho / _rho0);
-    _fuelFlow = _bsfc * _torque * _omega;
+    _fuelFlow = _running ? _bsfc * _torque * _omega : 0;
 }
 
 void TurbineEngine::stabilize()