1
0
Fork 0

Copy the initial properties a second time after initilization.

This commit is contained in:
Erik Hofman 2020-01-22 14:53:27 +01:00
parent 2d2d5dbb76
commit 123eb41819

View file

@ -190,6 +190,12 @@ void FDMShell::update(double dt)
fgSetBool("/sim/fdm-initialized", true);
fgSetBool("/sim/signals/fdm-initialized", true);
if (!copyProperties(_props->getNode("fdm", true),
_initialFdmProperties))
{
SG_LOG(SG_FLIGHT, SG_ALERT, "Failed to save initial FDM property state");
}
}
}