Fix gui parameter adjuster.
This commit is contained in:
parent
292c97fa43
commit
b603674b92
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue