A3XX: Fix FMGC bug

This commit is contained in:
Joshua Davidson 2017-07-30 13:51:16 -04:00
parent ac5f8cff7c
commit 6f5cdb5348

View file

@ -561,7 +561,7 @@ setlistener("/it-autoflight/mode/lat", func {
});
var toga_reduc = func {
if (getprop("/position/gear-agl-ft") >= getprop("/it-autoflight/settings/reduc-agl-ft")) {
if (getprop("/instrumentation/altimeter/indicated-altitude-ft") >= getprop("/it-autoflight/settings/reduc-agl-ft") and getprop("/gear/gear[1]/wow") == 0 and getprop("/gear/gear[2]/wow") == 0) {
setprop("/it-autoflight/input/vert", 4);
}
}