]> git.mxchange.org Git - flightgear.git/commitdiff
Patch from Cameron Moore:
authordavid <david>
Thu, 18 Jul 2002 22:31:19 +0000 (22:31 +0000)
committerdavid <david>
Thu, 18 Jul 2002 22:31:19 +0000 (22:31 +0000)
* Fixed uninitialized MaxAileron value (set to 0.5)

src/Autopilot/newauto.cxx

index f3233883344a4d752aff9b6fa426c160c1d3c1f2..f99c4412f23c8539dab88498ab32cafa6a131494 100644 (file)
@@ -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;