1
0
Fork 0

Fix a crash after reset.

This commit is contained in:
James Turner 2014-03-10 17:43:15 +00:00
parent cc607ae7e4
commit f07771f3d5

View file

@ -95,7 +95,7 @@ void FDMShell::postinit()
{ {
_initialFdmProperties = new SGPropertyNode; _initialFdmProperties = new SGPropertyNode;
if (!copyProperties(_props->getNode("fdm"), if (!copyProperties(_props->getNode("fdm", true),
_initialFdmProperties)) _initialFdmProperties))
{ {
SG_LOG(SG_FLIGHT, SG_ALERT, "Failed to save initial FDM property state"); SG_LOG(SG_FLIGHT, SG_ALERT, "Failed to save initial FDM property state");