From 39907bf7eaf87dd13c30a1280f44615ec4854ee2 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Fri, 7 Feb 2020 18:49:31 +0000 Subject: [PATCH] [XP driver] fixed bug that inverted engines on/off state --- src/plugins/simulator/xplane/xswiftbustrafficproxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/simulator/xplane/xswiftbustrafficproxy.h b/src/plugins/simulator/xplane/xswiftbustrafficproxy.h index 583a9a1a3..9f554d433 100644 --- a/src/plugins/simulator/xplane/xswiftbustrafficproxy.h +++ b/src/plugins/simulator/xplane/xswiftbustrafficproxy.h @@ -95,7 +95,7 @@ namespace BlackSimPlugin this->speedBrakes.push_back(parts.isSpoilersOut() ? 1 : 0); this->slats.push_back(parts.getFlapsPercent() / 100.0); this->wingSweeps.push_back(0.0); - this->thrusts.push_back(parts.isAnyEngineOn() ? 0 : 0.75); + this->thrusts.push_back(parts.isAnyEngineOn() ? 0.75 : 0); this->elevators.push_back(0.0); this->rudders.push_back(0.0); this->ailerons.push_back(0.0);