Explicitly set flightrule on SimBrief xml flightplan import

This commit is contained in:
Lars Toenning
2021-12-01 22:24:42 +01:00
parent e16dc6ef25
commit 209f145f98

View File

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