From b603674b92477f40366200f7d4b8220cceb0e409 Mon Sep 17 00:00:00 2001 From: curt <curt> Date: Thu, 4 May 2000 17:09:42 +0000 Subject: [PATCH] Fix gui parameter adjuster. --- src/Autopilot/auto_gui.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Autopilot/auto_gui.cxx b/src/Autopilot/auto_gui.cxx index 9379bfec4..02ceeb5f1 100644 --- a/src/Autopilot/auto_gui.cxx +++ b/src/Autopilot/auto_gui.cxx @@ -455,6 +455,11 @@ void fgAPAdjustInit( void ) { TmpMaxAileronValue = current_autopilot->get_MaxAileron(); TmpRollOutSmoothValue = current_autopilot->get_RollOutSmooth(); + MaxRollAdjust = 2 * current_autopilot->get_MaxRoll(); + RollOutAdjust = 2 * current_autopilot->get_RollOut(); + MaxAileronAdjust = 2 * current_autopilot->get_MaxAileron(); + RollOutSmoothAdjust = 2 * current_autopilot->get_RollOutSmooth(); + MaxRollValue = current_autopilot->get_MaxRoll() / MaxRollAdjust; RollOutValue = current_autopilot->get_RollOut() / RollOutAdjust; MaxAileronValue = current_autopilot->get_MaxAileron() / MaxAileronAdjust;