]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a crash after reset.
authorJames Turner <zakalawe@mac.com>
Mon, 10 Mar 2014 17:43:15 +0000 (17:43 +0000)
committerJames Turner <zakalawe@mac.com>
Mon, 10 Mar 2014 17:43:15 +0000 (17:43 +0000)
src/FDM/fdm_shell.cxx

index 3263444c33f62078c3456fd992a010bc8e192596..3629b22abb9964261b513e19a639f64db103a48f 100644 (file)
@@ -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");