From: andy Date: Wed, 20 Feb 2002 07:15:12 +0000 (+0000) Subject: Minor mixup. Engines that are off have a manifold pressure equal to X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f00a7970c3e50e7e7d6557a8309abfce4391de3;p=flightgear.git Minor mixup. Engines that are off have a manifold pressure equal to ambient, not to _rho0, which is the air density of the "calibration environment" (typically sea level). --- diff --git a/src/FDM/YASim/PistonEngine.cpp b/src/FDM/YASim/PistonEngine.cpp index 36c5013c2..45db6e479 100644 --- a/src/FDM/YASim/PistonEngine.cpp +++ b/src/FDM/YASim/PistonEngine.cpp @@ -125,7 +125,7 @@ void PistonEngine::calc(float pressure, float temp, float speed) { if (_magnetos == 0) { _running = false; - _mp = _rho0; + _mp = pressure; _torque = 0; _fuelFlow = 0; _egt = 80; // FIXME: totally made-up