From: david Date: Thu, 18 Jul 2002 22:31:19 +0000 (+0000) Subject: Patch from Cameron Moore: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec637e33d368514bb5b459847497bdf72e9a061c;p=flightgear.git Patch from Cameron Moore: * Fixed uninitialized MaxAileron value (set to 0.5) --- 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;