From 1e0f365af5eb6da5816721931daea45b60db3c68 Mon Sep 17 00:00:00 2001 From: "Jamie (dafuq)" <46281327+jamieernest@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:50:32 +0100 Subject: [PATCH] fail fl420 and 430 --- VFPC/analyzeFP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VFPC/analyzeFP.cpp b/VFPC/analyzeFP.cpp index e5ac7d61..1f564aef 100644 --- a/VFPC/analyzeFP.cpp +++ b/VFPC/analyzeFP.cpp @@ -288,7 +288,7 @@ map CVFPCPlugin::validizeSid(CFlightPlan flightPlan) { string direction = conditions[i]["direction"].GetString(); boost::to_upper(direction); if (direction == "EVEN") { - if (fmod(RFL, 2000) == 0) { + if (fmod(RFL, 2000) == 0 && RFL != 42000) { returnValid["DIRECTION"] = "Even FLs (Passed) / "; passed[3] = true; } @@ -297,7 +297,7 @@ map CVFPCPlugin::validizeSid(CFlightPlan flightPlan) { } } else if (direction == "ODD") { - if (fmod(RFL, 2000) == 1000) { + if (fmod(RFL, 2000) == 1000 && RFL != 43000) { returnValid["DIRECTION"] = "Odd FLs (Passed) / "; passed[3] = true; }