From ec637e33d368514bb5b459847497bdf72e9a061c Mon Sep 17 00:00:00 2001 From: david Date: Thu, 18 Jul 2002 22:31:19 +0000 Subject: [PATCH] Patch from Cameron Moore: * Fixed uninitialized MaxAileron value (set to 0.5) --- src/Autopilot/newauto.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Autopilot/newauto.cxx b/src/Autopilot/newauto.cxx index f32338833..f99c4412f 100644 --- a/src/Autopilot/newauto.cxx +++ b/src/Autopilot/newauto.cxx @@ -305,6 +305,9 @@ void FGAutopilot::init () // 25% max control variablilty 0.5 / 2.0 disengage_threshold = 1.0; + // set default aileron max deflection + MaxAileron = 0.5; + #if !defined( USING_SLIDER_CLASS ) MaxRollAdjust = 2 * MaxRoll; RollOutAdjust = 2 * RollOut; -- 2.39.5