]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navrecord.cxx
Reduce severity of a failure to create a marker beacon due to an unknown runway from...
[flightgear.git] / src / Navaids / navrecord.cxx
index 5edc64ef180c2babd21b71e19b06eb617eea3de3..d0549f26b8e1b6797dfa3c3d22abf981171dc827 100644 (file)
@@ -39,9 +39,7 @@
 #include <Airports/runways.hxx>
 #include <Airports/simple.hxx>
 #include <Airports/xmlloader.hxx>
-
 #include <Main/fg_props.hxx>
-#include <Navaids/PositionedBinding.hxx>
 
 FGNavRecord::FGNavRecord(Type aTy, const std::string& aIdent, 
   const std::string& aName, const SGGeod& aPos,
@@ -52,8 +50,7 @@ FGNavRecord::FGNavRecord(Type aTy, const std::string& aIdent,
   multiuse(aMultiuse),
   _name(aName),
   mRunway(NULL),
-  serviceable(true),
-  trans_ident(aIdent)
+  serviceable(true)
 { 
   initAirportRelation();
 
@@ -61,7 +58,7 @@ FGNavRecord::FGNavRecord(Type aTy, const std::string& aIdent,
   // assign our own defaults, unless the range is not set for some
   // reason.
   if (range < 0.1) {
-    SG_LOG(SG_GENERAL, SG_WARN, "navaid " << ident() << " has no range set, using defaults");
+    SG_LOG(SG_GENERAL, SG_DEBUG, "navaid " << ident() << " has no range set, using defaults");
     switch (type()) {
     case NDB:
     case VOR:
@@ -188,13 +185,6 @@ double FGNavRecord::localizerWidth() const
 
 }
 
-flightgear::PositionedBinding*
-FGNavRecord::createBinding(SGPropertyNode* nd) const
-{
-    return new flightgear::NavaidBinding(this, nd);
-}
-
-
 FGTACANRecord::FGTACANRecord(void) :
     channel(""),
     freq(0)