From 1fc72cdd84847ad4d638a84efe8aa323da6ef04e Mon Sep 17 00:00:00 2001 From: sydadams Date: Thu, 17 Sep 2009 20:49:43 +0000 Subject: [PATCH] restored DME/RNAV distance display --- Aircraft/Instruments-3d/kns80/KNS80.nas | 4 ++-- Aircraft/Instruments-3d/kns80/kns80.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Aircraft/Instruments-3d/kns80/KNS80.nas b/Aircraft/Instruments-3d/kns80/KNS80.nas index aff94f9bc..05cf1786b 100644 --- a/Aircraft/Instruments-3d/kns80/KNS80.nas +++ b/Aircraft/Instruments-3d/kns80/KNS80.nas @@ -198,8 +198,8 @@ updateRNAV : func{ var distance=me.DME_dist.getValue() or 0; var selected_radial = me.NAV1_RADIAL.getValue() or 0; var radial = me.NAV1_ACTUAL.getValue() or 0; - var rho = me.wpt_distance[me.use_num].getValue() or 0; - var theta = me.wpt_radial[me.use_num].getValue() or 0; + var rho = me.wpt_distance[me.use_num].getValue(); + var theta = me.wpt_radial[me.use_num].getValue(); var fangle = 0; var needle_deflection = 0; var from_flag=1; diff --git a/Aircraft/Instruments-3d/kns80/kns80.xml b/Aircraft/Instruments-3d/kns80/kns80.xml index e1fe0dc1f..e5cd76d4a 100644 --- a/Aircraft/Instruments-3d/kns80/kns80.xml +++ b/Aircraft/Instruments-3d/kns80/kns80.xml @@ -490,7 +490,7 @@ Syd Adams textranslate nm.101 - instrumentation/rnav/indicated-distance-nm + instrumentation/kns-80/rnav/indicated-distance-nm 0.01 10 0.05 @@ -504,7 +504,7 @@ Syd Adams textranslate nm.102 - instrumentation/rnav/indicated-distance-nm + instrumentation/kns-80/rnav/indicated-distance-nm 0.1 1 0.05 @@ -518,7 +518,7 @@ Syd Adams textranslate nm.103 - instrumentation/rnav/indicated-distance-nm + instrumentation/kns-80/rnav/indicated-distance-nm 1.0 0.1 0.05