From 7c3df373afa332f7c482ff3e8e80c67bae1ad849 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 17 Jan 2003 13:49:48 +0000 Subject: [PATCH] Convert distance to touch down point to nm. --- src/Network/native_gui.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Network/native_gui.cxx b/src/Network/native_gui.cxx index 91618430f..a6e6f82f5 100644 --- a/src/Network/native_gui.cxx +++ b/src/Network/native_gui.cxx @@ -149,7 +149,8 @@ void FGProps2NetGUI( FGNetGUI *net ) { net->warp = globals->get_warp(); // Approach - net->dist_nm = current_radiostack->get_navcom1()->get_nav_gs_dist(); + net->dist_nm = current_radiostack->get_navcom1()->get_nav_gs_dist() + * SG_METER_TO_NM; net->course_deviation_deg = current_radiostack->get_navcom1()->get_nav_heading() - current_radiostack->get_navcom1()->get_nav_radial();