From d440d0401eeb2a285596637db2e5d8b8f871754b Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Tue, 28 Jun 2022 20:33:05 +0100 Subject: [PATCH] Change groundspeed property reference --- Nasal/FMGC/flightplan.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/FMGC/flightplan.nas b/Nasal/FMGC/flightplan.nas index 53178d3e..8cd832a8 100644 --- a/Nasal/FMGC/flightplan.nas +++ b/Nasal/FMGC/flightplan.nas @@ -776,7 +776,7 @@ var flightPlanController = { calculateLvlOffPoint: func(deltaAltitude) { - me.distLvl = (deltaAltitude * pts.Velocities.groundspeedKt.getValue()) / (fmgc.Internal.vs.getValue() * 60); + me.distLvl = (deltaAltitude * pts.Velocities.groundspeed.getValue()) / (fmgc.Internal.vs.getValue() * 60); if (fmgc.Output.lat.getValue() == 1) { # NAV me.lvlOffPoint = me.flightplans[2].pathGeod(me.currentToWptIndex.getValue() - 1, me.flightplans[2].getWP(me.currentToWptIndex.getValue()).leg_distance - me.distToWpt.getValue() + abs(me.distLvl));