]> git.mxchange.org Git - flightgear.git/commitdiff
Fix gui parameter adjuster.
authorcurt <curt>
Thu, 4 May 2000 17:09:42 +0000 (17:09 +0000)
committercurt <curt>
Thu, 4 May 2000 17:09:42 +0000 (17:09 +0000)
src/Autopilot/auto_gui.cxx

index 9379bfec4121b5777034da8523e38daac400c68f..02ceeb5f1a6520fe7f43bbc199e346e06f1a9606 100644 (file)
@@ -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;