]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/procedure.cxx
Run the filters for comm/navaids as required.
[flightgear.git] / src / Navaids / procedure.cxx
index be3df320436af163ed363a62f647e8e0df78e297..bb53a642929c8852d96f92ae861d1b4c268708d5 100644 (file)
@@ -118,7 +118,9 @@ bool Approach::route(WayptRef aIAF, WayptVec& aWps)
 bool Approach::routeFromVectors(WayptVec& aWps)
 {
   aWps.insert(aWps.end(), _primary.begin(), _primary.end());
-  aWps.push_back(new RunwayWaypt(_runway, NULL));
+  RunwayWaypt* rwy = new RunwayWaypt(_runway, NULL);
+  rwy->setFlag(WPT_APPROACH);
+  aWps.push_back(rwy);
   aWps.insert(aWps.end(), _missed.begin(), _missed.end());
   return true;
 }