mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Trigger gear-up correctly if higher than 1000 ft.
This commit is contained in:
committed by
Klaus Basan
parent
9feb4f39dc
commit
43f796bb0e
@@ -410,7 +410,7 @@ namespace BlackSimPlugin
|
||||
ddAircraftSituation.position = position;
|
||||
|
||||
DataDefinitionGearHandlePosition gearHandle;
|
||||
gearHandle.gearHandlePosition = 1;
|
||||
gearHandle.gearHandlePosition = position.Altitude < 1000 ? 1 : 0;
|
||||
|
||||
if (simObj.getObjectId() != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user