]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navrecord.cxx
Merge branch 'jmt/cleanup' into next
[flightgear.git] / src / Navaids / navrecord.cxx
index 2029d2b7d3e004a2aa10c6b4c0de1432251f6741..6bb71a54c9d2e40e3506b4e17e451b910e80fd94 100644 (file)
@@ -101,7 +101,7 @@ void FGNavRecord::initAirportRelation()
     mPosition.setElevationFt(mRunway->elevation());
   }
   
-  if (type() == ILS) {
+  if (type() == ILS || type() == LOC) {
     mRunway->setILS(this);
   }
   
@@ -173,7 +173,7 @@ void FGNavRecord::alignLocaliserWithRunway(double aThreshold)
     mPosition = SGGeod::fromGeodFt(newPos, mPosition.getElevationFt());
     set_multiuse( mRunway->headingDeg() );
   } else {
-    SG_LOG(SG_GENERAL, SG_WARN, "localizer:" << ident() << ", aligning with runway " 
+    SG_LOG(SG_GENERAL, SG_DEBUG, "localizer:" << ident() << ", aligning with runway " 
       << mRunway->ident() << " exceeded heading threshold");
   }
 }