From: James Turner Date: Thu, 25 Dec 2014 18:52:54 +0000 (+0300) Subject: Partial fix for runway leg courses. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dbc47efa18ebe27da5b0c11e3be7b897dfea7280;p=flightgear.git Partial fix for runway leg courses. Don’t assume runway leg course matches the runway heading. Full fix means generating separate entry/exit turns for runways. --- 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; }