YASim airborne start-up
Gear should be up when starting in-air.
This commit is contained in:
parent
adc95a4b55
commit
4e6f0e18fd
1 changed files with 6 additions and 0 deletions
|
@ -219,8 +219,14 @@ void YASim::init()
|
|||
minGearZ = pos[2];
|
||||
}
|
||||
_set_Altitude(runway_altitude - minGearZ*M2FT);
|
||||
// ground start-up: gear down
|
||||
fgSetBool("/controls/gear/gear-down", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
// airborne start-up: gear up
|
||||
fgSetBool("/controls/gear/gear-down", false);
|
||||
}
|
||||
|
||||
// Blank the state, and copy in ours
|
||||
State s;
|
||||
|
|
Loading…
Add table
Reference in a new issue