]> git.mxchange.org Git - flightgear.git/commitdiff
It can't be turned off, so force the running flag to true to avoid an
authorandy <andy>
Sat, 1 May 2004 04:59:09 +0000 (04:59 +0000)
committerandy <andy>
Sat, 1 May 2004 04:59:09 +0000 (04:59 +0000)
uninitialization stupidity.

src/FDM/YASim/TurbineEngine.cpp

index 4be094e18426ceb5c9ea23826248c178d92fefb8..81580c62db86fb8b9b2c4f6e71b4002dd3dc72a7 100644 (file)
@@ -46,6 +46,7 @@ void TurbineEngine::integrate(float dt)
 
 void TurbineEngine::calc(float pressure, float temp, float omega)
 {
+    _running = true;
     _omega = omega;
     _rho = Atmosphere::calcStdDensity(pressure, temp);