1
0
Fork 0

Fixed handling of delta time (just a kludge for now): VSI behaves

reasonably again, and DG doesn't drift too fast any more.
This commit is contained in:
david 2002-05-14 14:21:27 +00:00
parent 487a14d05b
commit abdb5abb6a

View file

@ -100,7 +100,7 @@ int FGSteam::_UpdatesPending = 1000000; /* Forces filter to reset */
void FGSteam::update (double dt)
{
int timesteps = int(dt * 1000);
int timesteps = int(dt * fgGetInt("/sim/model-hz")); // FIXME
if (!isTied) {
isTied = true;
fgTie("/steam/airspeed-kt", FGSteam::get_ASI_kias);