1
0
Fork 0

Fix regression in Vivian's last patch.

This commit is contained in:
Tim Moore 2009-01-19 21:12:25 +01:00
parent 51b686a796
commit ec72392aa5

View file

@ -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;