1
0
Fork 0

- Sebastien Marque: Fix navigation display so it shows distance to waypoint.

This commit is contained in:
abory 2009-12-15 20:39:09 +00:00
parent adbda8b7a3
commit b51040c7ba

View file

@ -220,11 +220,11 @@ var screenNavigationMain = {
type != nil ? type.getValue() : "---"),
sprintf("BRG: %d° DST: %d %s",
me.waypoint.getNode("bearing-mag-deg",1).getValue(),
dist * dist_conv[0][dist_unit],
me.waypoint.getNode("distance-nm",1).getValue() * dist_conv[0][dist_unit],
dist_unit_short_name[dist_unit]),
sprintf("XCRS: %d* (%.1f %s)",
me.waypoint.getNode("course-deviation-deg").getValue(),
me.waypoint.getNode("course-error-nm").getValue() * dist_conv[0][dist_unit],
dist * dist_conv[0][dist_unit],
dist_unit_short_name[dist_unit]),
sprintf("TTW: %s",
me.waypoint.getNode("TTW").getValue()),