1
0
Fork 0

Make sure that all elapsed time gets passed to update when a subsystem

has a minimum time slice.
This commit is contained in:
david 2003-03-09 03:22:12 +00:00
parent 4b78f5305f
commit d94bd7526c

View file

@ -226,8 +226,8 @@ FGSubsystemGroup::Member::update (double delta_time_sec)
elapsed_sec += delta_time_sec;
if (elapsed_sec >= min_step_sec) {
if (!subsystem->is_suspended()) {
subsystem->update(delta_time_sec);
elapsed_sec -= min_step_sec;
subsystem->update(elapsed_sec);
elapsed_sec = 0;
}
}
}