Fix flight-plan cloning with approach transitions
This commit is contained in:
parent
b210f9e253
commit
c1afb053a1
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ FlightPlan* FlightPlan::clone(const string& newIdent) const
|
||||||
c->setDeparture(_departureRunway);
|
c->setDeparture(_departureRunway);
|
||||||
|
|
||||||
if (_approach) {
|
if (_approach) {
|
||||||
c->setApproach(_approach);
|
c->setApproach(_approach, _approachTransition);
|
||||||
} else if (_destinationRunway) {
|
} else if (_destinationRunway) {
|
||||||
c->setDestination(_destinationRunway);
|
c->setDestination(_destinationRunway);
|
||||||
} else if (_destination) {
|
} else if (_destination) {
|
||||||
|
|
Loading…
Reference in a new issue