]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/waypoint.cxx
Bug #927 - flightplan XML loading.
[flightgear.git] / src / Navaids / waypoint.cxx
index dd1ae7a96c4afd14838eb97d2a93b4bcd899fdcc..81e2c5c8261bd52ac8b563f50aed0665ac442b6f 100644 (file)
@@ -24,7 +24,6 @@
 #include "waypoint.hxx"
 
 #include <simgear/structure/exception.hxx>
-#include <simgear/route/waypoint.hxx>
 
 #include <Airports/simple.hxx>
 #include <Airports/runways.hxx>
@@ -44,13 +43,6 @@ BasicWaypt::BasicWaypt(const SGGeod& aPos, const string& aIdent, RouteBase* aOwn
   }
 }
 
-BasicWaypt::BasicWaypt(const SGWayPoint& aWP, RouteBase* aOwner) :
-  Waypt(aOwner),
-  _pos(aWP.get_target()),
-  _ident(aWP.get_id())
-{
-}
-
 BasicWaypt::BasicWaypt(RouteBase* aOwner) :
   Waypt(aOwner)
 {
@@ -86,7 +78,7 @@ NavaidWaypoint::NavaidWaypoint(FGPositioned* aPos, RouteBase* aOwner) :
   _navaid(aPos)
 {
   if (aPos->type() == FGPositioned::RUNWAY) {
-      SG_LOG(SG_GENERAL, SG_WARN, "sure you don't want to be building a runway waypt here?");
+      SG_LOG(SG_NAVAID, SG_WARN, "sure you don't want to be building a runway waypt here?");
   }
 }