From 4a1bc58efc89aca86300d2c789098dfaf7aa5423 Mon Sep 17 00:00:00 2001 From: Matthew Maring <56924612+hayden2000@users.noreply.github.com> Date: Sun, 26 Apr 2020 15:18:47 -0400 Subject: [PATCH] Add comment on altitude for the future --- Nasal/FMGC/FMGC.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/FMGC/FMGC.nas b/Nasal/FMGC/FMGC.nas index 6f797901..09aee5e7 100644 --- a/Nasal/FMGC/FMGC.nas +++ b/Nasal/FMGC/FMGC.nas @@ -480,7 +480,7 @@ var masterFMGC = maketimer(0.2, func { destination_rwy = fmgc.flightPlanController.flightplans[2].destination_runway; if (destination_rwy != nil and phase >= 2) { var airport = airportinfo(getprop("FMGC/internal/arr-arpt")); - setprop("FMGC/internal/ldg-elev", airport.elevation * M2FT); + setprop("FMGC/internal/ldg-elev", airport.elevation * M2FT); # eventually should be runway elevation magnetic_hdg = geo.normdeg(destination_rwy.heading - getprop("environment/magnetic-variation-deg")); runway_ils = destination_rwy.ils_frequency_mhz; if (runway_ils != nil and !getprop("FMGC/internal/ils1freq-set") and !getprop("FMGC/internal/ils1crs-set")) {