suppress output ...
- in replay mode - when trying to raise the flaps, but they are already fullly up - when trying to retrace the gear, but it is already retracted more cleanup later ... much later :-)
This commit is contained in:
parent
0fed31d7b7
commit
a41ba9f403
1 changed files with 10 additions and 1 deletions
|
@ -18,8 +18,11 @@
|
|||
# speeds for different flap settings.
|
||||
|
||||
checkFlaps = func {
|
||||
airspeed = getprop("velocities/airspeed-kt");
|
||||
flapsetting = cmdarg().getValue();
|
||||
if (flapsetting == 0)
|
||||
return;
|
||||
|
||||
airspeed = getprop("velocities/airspeed-kt");
|
||||
ltext = "";
|
||||
|
||||
limits = props.globals.getNode("limits");
|
||||
|
@ -54,6 +57,9 @@ checkFlaps = func {
|
|||
|
||||
|
||||
checkGear = func {
|
||||
if (!cmdarg().getValue())
|
||||
return;
|
||||
|
||||
airspeed = getprop("velocities/airspeed-kt");
|
||||
max_gear = getprop("limits/max-gear-extension-speed");
|
||||
|
||||
|
@ -85,6 +91,9 @@ updatePilotG = func {
|
|||
updatePilotG();
|
||||
|
||||
checkGandVNE = func {
|
||||
if (getprop("/sim/freeze/replay-state"))
|
||||
return;
|
||||
|
||||
max_positive = getprop("limits/max-positive-g");
|
||||
max_negative = getprop("limits/max-negative-g");
|
||||
msg = "";
|
||||
|
|
Loading…
Add table
Reference in a new issue