mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 12:45:40 +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;
|
ddAircraftSituation.position = position;
|
||||||
|
|
||||||
DataDefinitionGearHandlePosition gearHandle;
|
DataDefinitionGearHandlePosition gearHandle;
|
||||||
gearHandle.gearHandlePosition = 1;
|
gearHandle.gearHandlePosition = position.Altitude < 1000 ? 1 : 0;
|
||||||
|
|
||||||
if (simObj.getObjectId() != 0)
|
if (simObj.getObjectId() != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user