mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 17:55:45 +08:00
[XP driver] fixed bug that inverted engines on/off state
This commit is contained in:
@@ -95,7 +95,7 @@ namespace BlackSimPlugin
|
|||||||
this->speedBrakes.push_back(parts.isSpoilersOut() ? 1 : 0);
|
this->speedBrakes.push_back(parts.isSpoilersOut() ? 1 : 0);
|
||||||
this->slats.push_back(parts.getFlapsPercent() / 100.0);
|
this->slats.push_back(parts.getFlapsPercent() / 100.0);
|
||||||
this->wingSweeps.push_back(0.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->elevators.push_back(0.0);
|
||||||
this->rudders.push_back(0.0);
|
this->rudders.push_back(0.0);
|
||||||
this->ailerons.push_back(0.0);
|
this->ailerons.push_back(0.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user