Skip to content

Commit

Permalink
Fix RTE code assignment not assigning STAR (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoChen98 authored Jul 29, 2024
1 parent 9856797 commit 32542df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion AT3/AT3Tags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ void AT3Tags::SetRte(int index, CFlightPlan FlightPlan, vector<string> rteVec, s

if (fpRoute.find(starStr) == string::npos) {
fpRoute = fpRoute + starStr;
FlightPlan.GetFlightPlanData().SetRoute(fpRoute.c_str()); //assign STAR if not already assigned
CFlightPlanData flightplan_data = FlightPlan.GetFlightPlanData();
flightplan_data.SetRoute(fpRoute.c_str()); //assign STAR if not already assigned
if (flightplan_data.IsAmended())
{
flightplan_data.AmendFlightPlan();
}
}
}
}
Expand Down

0 comments on commit 32542df

Please sign in to comment.