]> git.mxchange.org Git - flightgear.git/commitdiff
Autopilot: fix wrong warning for unknown node
authorThomas Geymayer <tomgey@gmail.com>
Wed, 26 Feb 2014 23:20:06 +0000 (00:20 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Wed, 26 Feb 2014 23:20:06 +0000 (00:20 +0100)
src/Autopilot/component.cxx

index 429e9a4142610043ec5fd20d7cc0d09be037c74c..d0b39025c9f2847657fadd55c3f45dea7c9fde9f 100644 (file)
@@ -72,7 +72,11 @@ bool Component::configure( SGPropertyNode& cfg_node,
   {
     _name = cfg_node.getStringValue();
     return true;
-  } 
+  }
+
+  if( cfg_name == "update-interval-secs" )
+    // This is handled in autopilot.cxx
+    return true;
 
   if ( cfg_name == "debug" )
   {