From a2f606fe8ac6b6960f913ae32ca5c4458cebbd7c Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Mon, 17 Apr 2017 19:49:10 -0400 Subject: [PATCH] remove unnessary code in FBW --- Nasal/it-fbw.nas | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Nasal/it-fbw.nas b/Nasal/it-fbw.nas index 6669de39..9031ec5e 100644 --- a/Nasal/it-fbw.nas +++ b/Nasal/it-fbw.nas @@ -29,10 +29,6 @@ var roll_input = func { setprop("/it-fbw/roll-lim-max", "33"); setprop("/it-fbw/roll-lim-min", "-33"); } - - if (getprop("/gear/gear[0]/wow") == 1) { - setprop("/it-fbw/roll-deg", "0"); - } } ######################### @@ -58,12 +54,6 @@ var pitch_input = func { setprop("/it-fbw/pitch-lim-max", "15"); setprop("/it-fbw/pitch-lim-min", "-15"); } - - if (getprop("/gear/gear[0]/wow") == 1) { - if (elev > -0.05 and elev < 0.05) { - setprop("/it-fbw/pitch-deg", getprop("/orientation/pitch-deg")); - } - } } ###########################