]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/MapWidget.cxx
Add a node mask bit for permanent lights (needed by Rembrandt) and select it in the...
[flightgear.git] / src / GUI / MapWidget.cxx
index 99e536a4f4fd8b060d1a0353d005ab6e474193ec..ba4174086ea64dea7c217aeb4aaa666f828603c5 100644 (file)
@@ -8,8 +8,6 @@
 #include <algorithm> // for std::sort
 #include <plib/puAux.h>
 
-#include <simgear/sg_inlines.h>
-#include <simgear/route/waypoint.hxx>
 #include <simgear/sg_inlines.h>
 #include <simgear/misc/strutils.hxx>
 #include <simgear/magvar/magvar.hxx>
@@ -889,7 +887,7 @@ public:
   {
     _heliports = nd->getBoolValue("show-heliports", false);
     _hardRunwaysOnly = nd->getBoolValue("hard-surfaced-airports", true);
-    _minLengthFt = nd->getDoubleValue("min-runway-length-ft", 2000.0);
+    _minLengthFt = fgGetDouble("/sim/navdb/min-runway-length-ft", 2000);
   }
 
   virtual FGPositioned::Type maxType() const {