mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Use "fixed "gear down" if on ground.
Reason: Some sims do send incorrect gear down. Follow up of T778
This commit is contained in:
committed by
Mat Sutcliffe
parent
df69ef47a0
commit
4e45249142
@@ -356,7 +356,7 @@ namespace BlackSimPlugin
|
||||
|
||||
void DataDefinitionRemoteAircraftPartsWithoutLights::initFromParts(const CAircraftParts &parts)
|
||||
{
|
||||
gearHandlePosition = parts.isGearDown() ? 1.0 : 0.0;
|
||||
gearHandlePosition = parts.isFixedGearDown() ? 1.0 : 0.0;
|
||||
const double trail = parts.getFlapsPercent() / 100.0;
|
||||
const double lead = trail;
|
||||
flapsTrailingEdgeLeftPercent = trail;
|
||||
|
||||
Reference in New Issue
Block a user