1
0
Fork 0

Patch from Cameron Moore:

* Fixed uninitialized MaxAileron value (set to 0.5)
This commit is contained in:
david 2002-07-18 22:31:19 +00:00
parent c814eb3a1e
commit ec637e33d3

View file

@ -305,6 +305,9 @@ void FGAutopilot::init ()
// 25% max control variablilty 0.5 / 2.0 // 25% max control variablilty 0.5 / 2.0
disengage_threshold = 1.0; disengage_threshold = 1.0;
// set default aileron max deflection
MaxAileron = 0.5;
#if !defined( USING_SLIDER_CLASS ) #if !defined( USING_SLIDER_CLASS )
MaxRollAdjust = 2 * MaxRoll; MaxRollAdjust = 2 * MaxRoll;
RollOutAdjust = 2 * RollOut; RollOutAdjust = 2 * RollOut;