1
0
Fork 0

Fix flight-plan cloning with approach transitions

This commit is contained in:
James Turner 2020-06-10 17:58:31 +01:00
parent b210f9e253
commit c1afb053a1

View file

@ -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) {