From: andy Date: Sat, 1 May 2004 04:59:09 +0000 (+0000) Subject: It can't be turned off, so force the running flag to true to avoid an X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0bd25eb082803d2c29e0ac32368d189ba9268b91;p=flightgear.git It can't be turned off, so force the running flag to true to avoid an uninitialization stupidity. --- diff --git a/src/FDM/YASim/TurbineEngine.cpp b/src/FDM/YASim/TurbineEngine.cpp index 4be094e18..81580c62d 100644 --- a/src/FDM/YASim/TurbineEngine.cpp +++ b/src/FDM/YASim/TurbineEngine.cpp @@ -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);