From dbc47efa18ebe27da5b0c11e3be7b897dfea7280 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 25 Dec 2014 21:52:54 +0300 Subject: [PATCH] Partial fix for runway leg courses. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t assume runway leg course matches the runway heading. Full fix means generating separate entry/exit turns for runways. --- src/Navaids/routePath.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Navaids/routePath.cxx b/src/Navaids/routePath.cxx index 46150b603..e07018832 100644 --- a/src/Navaids/routePath.cxx +++ b/src/Navaids/routePath.cxx @@ -108,7 +108,7 @@ public: pos = wpt->position(); posValid = true; - if ((ty == "runway") || (ty == "hold")) { + if (ty == "hold") { legCourseTrue = wpt->headingRadialDeg() + magVarFor(pos); legCourseValid = true; }