From f07771f3d5243e2058b2a3a7c6092f94a46921fa Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 10 Mar 2014 17:43:15 +0000 Subject: [PATCH] Fix a crash after reset. --- src/FDM/fdm_shell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/fdm_shell.cxx b/src/FDM/fdm_shell.cxx index 3263444c3..3629b22ab 100644 --- a/src/FDM/fdm_shell.cxx +++ b/src/FDM/fdm_shell.cxx @@ -95,7 +95,7 @@ void FDMShell::postinit() { _initialFdmProperties = new SGPropertyNode; - if (!copyProperties(_props->getNode("fdm"), + if (!copyProperties(_props->getNode("fdm", true), _initialFdmProperties)) { SG_LOG(SG_FLIGHT, SG_ALERT, "Failed to save initial FDM property state");