]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_ladr.cxx
remove the rest of the static variables (except one); cleanup
[flightgear.git] / src / Cockpit / hud_ladr.cxx
index 4b3a881727b5eff0a4c9f6da0f94acfe0f8a9915..8109429b81f0391853bdce76d0319e4386e918c6 100644 (file)
@@ -49,9 +49,10 @@ HudLadder::HudLadder(const SGPropertyNode *node) :
     // Invert to convert the "compression" factor to a
     // pixels-per-degree number.
     if (fgGetBool("/sim/hud/enable3d", true) && HUD_style == 1)
-        factor = (640./55.);
+        factor = 640.0 / 55.0;
 
-    SG_LOG(SG_INPUT, SG_INFO, "Done reading HudLadder instrument");    // TODO add name
+    SG_LOG(SG_INPUT, SG_INFO, "Done reading HudLadder instrument"
+            << node->getStringValue("name", "[NONE]"));
 
     if (!width_units)
         width_units = 45;