1
0
Fork 0

use correct max_gear value

This commit is contained in:
mfranz 2006-12-06 13:19:56 +00:00
parent cb9361b067
commit 79fea79cae

View file

@ -55,7 +55,7 @@ checkFlaps = func {
checkGear = func { checkGear = func {
airspeed = getprop("velocities/airspeed-kt"); airspeed = getprop("velocities/airspeed-kt");
max_gear = cmdarg().getValue(); max_gear = getprop("limits/max-gear-extension-speed");
if ((max_gear != nil) and (airspeed > max_gear)) if ((max_gear != nil) and (airspeed > max_gear))
{ {