]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/TurbineEngine.cpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / TurbineEngine.cpp
index fe1cab7b3720f862954ad5df6ac01654283aba6f..9d3af66091b1a586f462dcee2d22b584af6122aa 100644 (file)
@@ -35,6 +35,7 @@ void TurbineEngine::setOutputFromN2()
 
 void TurbineEngine::stabilize()
 {
+    _fuel = true;
     _n2 = _n2Target;
     setOutputFromN2();
 }
@@ -51,7 +52,7 @@ void TurbineEngine::integrate(float dt)
 
 void TurbineEngine::calc(float pressure, float temp, float omega)
 {
-    _running = _fuel && _cond_lever > 0.001
+    _running = _fuel && _cond_lever > 0.001;
 
     _n2Min = _n2LowIdle + (_n2HighIdle - _n2LowIdle) * _cond_lever;
     _omega = omega;