Fixed bug with sendCTRL

sendCTRL was not setting the flap
This commit is contained in:
Chris Teubert
2015-04-01 16:02:28 -07:00
parent f114554d9c
commit 54bd73df9b
2 changed files with 1 additions and 1 deletions

View File

@@ -755,7 +755,7 @@ int handleCTRL(char buf[])
{
setGEAR(0, gear, 0); // Gear
}
if ( flaps > -999.5 && flaps < -997.5 ) // Flaps
if ( flaps < -999.5 || flaps > -997.5 ) // Flaps
{
XPLMSetDataf(XPLMDataRefs[13][3],flaps);
}