Bugfix: pause works for JSBsim/Yasim again
This commit is contained in:
parent
f19c8ac05d
commit
0250d2ee5b
1 changed files with 5 additions and 1 deletions
|
@ -62,8 +62,12 @@ FGInterface::~FGInterface() {
|
|||
}
|
||||
|
||||
int
|
||||
FGInterface::_calc_multiloop (double)
|
||||
FGInterface::_calc_multiloop (double dt)
|
||||
{
|
||||
if (dt == 0.0) {
|
||||
return 0; // paused
|
||||
}
|
||||
|
||||
// this method is now obsolete - multiloop is handled by
|
||||
// SGSubsystemGroup; the FDM group operates with a fixed time interval
|
||||
// (defined by /sim/model-hz), so at this level we always want to run
|
||||
|
|
Loading…
Add table
Reference in a new issue