From 2f00a7970c3e50e7e7d6557a8309abfce4391de3 Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 20 Feb 2002 07:15:12 +0000 Subject: [PATCH] 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). --- src/FDM/YASim/PistonEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5