]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/slip_skid_ball.cxx
don't be afraid of the comma operator!
[flightgear.git] / src / Instrumentation / slip_skid_ball.cxx
index d0ec8886fc76639e3b7e11dcf042d224b657ba03..9f4193ee5b2ad1b5263bbdcfd6acbae496b2d473 100644 (file)
@@ -23,9 +23,9 @@ SlipSkidBall::SlipSkidBall ( SGPropertyNode *node)
         } else if ( cname == "number" ) {
             num = child->getIntValue();
         } else {
-            SG_LOG( SG_AUTOPILOT, SG_WARN, "Error in slip-skid-ball config logic" );
+            SG_LOG( SG_INSTR, SG_WARN, "Error in slip-skid-ball config logic" );
             if ( name.length() ) {
-                SG_LOG( SG_AUTOPILOT, SG_WARN, "Section = " << name );
+                SG_LOG( SG_INSTR, SG_WARN, "Section = " << name );
             }
         }
     }
@@ -50,9 +50,7 @@ SlipSkidBall::init ()
     _y_accel_node = fgGetNode("/accelerations/pilot/y-accel-fps_sec", true);
     _z_accel_node = fgGetNode("/accelerations/pilot/z-accel-fps_sec", true);
     _out_node = node->getChild("indicated-slip-skid", 0, true);
-    _override_node = node->getChild("iverride", 0, true);
-
-    _serviceable_node->setBoolValue(true);
+    _override_node = node->getChild("override", 0, true);
 }
 
 void