1
0
Fork 0

Fixes to magnetic compass.

Fixed a typo in disabling autothrottle.
This commit is contained in:
curt 2000-05-16 23:00:31 +00:00
parent fb2a4f6909
commit f886e46623
2 changed files with 2 additions and 1 deletions

View file

@ -840,7 +840,7 @@ void FGAutopilot::AutoThrottleAdjust( double inc ) {
void FGAutopilot::set_AutoThrottleEnabled( bool value ) {
auto_throttle = value;
if ( auto_throttle = true ) {
if ( auto_throttle == true ) {
TargetSpeed = FGBFI::getAirspeed();
speed_error_accum = 0.0;
}

View file

@ -189,6 +189,7 @@ MagRibbon::draw () const
yoffset = 0.0;
}
xoffset = 1.0 - xoffset;
// Adjust to put the number in the centre
xoffset -= 0.25;