]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/static.cxx
Fix line endings
[flightgear.git] / src / Systems / static.cxx
index bac6ddf25aba7caa50c44d8924777d120c431ad5..f6cfa47b4be31831e46fd551bdc171a02baff1fe 100644 (file)
@@ -23,9 +23,9 @@ StaticSystem::StaticSystem ( SGPropertyNode *node )
         } else if ( cname == "number" ) {
             num = child->getIntValue();
         } else {
-            SG_LOG( SG_AUTOPILOT, SG_WARN, "Error in systems config logic" );
+            SG_LOG( SG_SYSTEMS, SG_WARN, "Error in systems config logic" );
             if ( name.length() ) {
-                SG_LOG( SG_AUTOPILOT, SG_WARN, "Section = " << name );
+                SG_LOG( SG_SYSTEMS, SG_WARN, "Section = " << name );
             }
         }
     }
@@ -51,8 +51,6 @@ StaticSystem::init ()
     _serviceable_node = node->getChild("serviceable", 0, true);
     _pressure_in_node = fgGetNode("/environment/pressure-inhg", true);
     _pressure_out_node = node->getChild("pressure-inhg", 0, true);
-
-    _serviceable_node->setBoolValue(true);
 }
 
 void