1
0
Fork 0

Fix duplicate runway wpt in default approach.

This commit is contained in:
James Turner 2012-11-24 13:50:37 +00:00
parent f0778a110b
commit 7d88714e2d

View file

@ -1063,8 +1063,6 @@ flightgear::Approach* createDefaultApproach(FGRunway* aRunway)
ss << aRunway->ident() << "-GS";
wpts.push_back(new BasicWaypt(p, ss.str(), NULL));
wpts.push_back(new RunwayWaypt(aRunway, NULL));
BOOST_FOREACH(Waypt* w, wpts) {
w->setFlag(WPT_APPROACH);
w->setFlag(WPT_GENERATED);