]> git.mxchange.org Git - flightgear.git/commitdiff
Partial fix for runway leg courses.
authorJames Turner <zakalawe@mac.com>
Thu, 25 Dec 2014 18:52:54 +0000 (21:52 +0300)
committerJames Turner <zakalawe@mac.com>
Thu, 25 Dec 2014 18:52:54 +0000 (21:52 +0300)
Don’t assume runway leg course matches the runway heading.
Full fix means generating separate entry/exit turns for runways.

src/Navaids/routePath.cxx

index 46150b603cec4150098a0144833a4af4b553836d..e070188324212f8428caed7d8ab25dae2b4484ef 100644 (file)
@@ -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;
       }