Fix regression in Vivian's last patch.
This commit is contained in:
parent
51b686a796
commit
ec72392aa5
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ HeadingIndicatorFG::update (double dt)
|
||||||
if ((heading - _last_heading_deg) < -180)
|
if ((heading - _last_heading_deg) < -180)
|
||||||
_last_heading_deg -= 360;
|
_last_heading_deg -= 360;
|
||||||
|
|
||||||
heading = fgGetLowPass(_last_heading_deg, heading, dt * factor);
|
heading = fgGetLowPass(_last_heading_deg, heading, dt / factor);
|
||||||
_last_heading_deg = heading;
|
_last_heading_deg = heading;
|
||||||
|
|
||||||
heading += offset;
|
heading += offset;
|
||||||
|
|
Loading…
Reference in a new issue