1
0
Fork 0

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.
This commit is contained in:
James Turner 2014-12-25 21:52:54 +03:00
parent 5c659b3970
commit dbc47efa18

View file

@ -108,7 +108,7 @@ public:
pos = wpt->position(); pos = wpt->position();
posValid = true; posValid = true;
if ((ty == "runway") || (ty == "hold")) { if (ty == "hold") {
legCourseTrue = wpt->headingRadialDeg() + magVarFor(pos); legCourseTrue = wpt->headingRadialDeg() + magVarFor(pos);
legCourseValid = true; legCourseValid = true;
} }