mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 01:35:45 +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);
|
fp.setCruiseAltitude(ca);
|
||||||
if (cruiseAltFt >= 10000) { fp.setFlightRule(CFlightPlan::IFR); } // good guess
|
if (cruiseAltFt >= 10000) { fp.setFlightRule(CFlightPlan::IFR); } // good guess
|
||||||
|
else { fp.setFlightRule(CFlightPlan::VFR); }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user