mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Explicitly set flightrule on SimBrief xml flightplan import
This commit is contained in:
@@ -542,6 +542,7 @@ namespace BlackMisc::Aviation
|
||||
}
|
||||
fp.setCruiseAltitude(ca);
|
||||
if (cruiseAltFt >= 10000) { fp.setFlightRule(CFlightPlan::IFR); } // good guess
|
||||
else { fp.setFlightRule(CFlightPlan::VFR); }
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user