Skip to content

Commit 236016f

Browse files
committed
Force update of preferred SID before auto assigning
1 parent dff48ac commit 236016f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

VFPC/analyzeFP.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ void CVFPCPlugin::OnFunctionCall(int FunctionId, const char* sItemString, POINT
165165
//AddPopupListElement("Manual", "", TAG_FUNC_ASSIGN_SID_MANUAL, false, POPUP_ELEMENT_NO_CHECKBOX, false);
166166
break;
167167
case TAG_FUNC_ASSIGN_SID_AUTO:
168+
UpdatePreferredSid(FlightPlan, sidData, AUTO);
168169
InsertSidFlightPlan(FlightPlan, VFPCFPData[callsign].preferredSID, VFPCFPData[callsign].preferredSIDwp);
169170
break;
170171
case TAG_FUNC_ASSIGN_SID_3RS:

0 commit comments

Comments
 (0)