Fix duplicate runway wpt in default approach.
This commit is contained in:
parent
f0778a110b
commit
7d88714e2d
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue