From 8e45e86f9ce0d1a672191015ab4c1d13ae3d8942 Mon Sep 17 00:00:00 2001 From: Daniel Meissner Date: Mon, 5 Nov 2018 20:05:27 +0100 Subject: [PATCH] Fix glide slope tunnel altitude offset by moving it to correct runway touchdown zone. --- Nasal/glide_slope_tunnel.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/glide_slope_tunnel.nas b/Nasal/glide_slope_tunnel.nas index 66aa5a9fa..a5a6f8c5a 100644 --- a/Nasal/glide_slope_tunnel.nas +++ b/Nasal/glide_slope_tunnel.nas @@ -50,7 +50,7 @@ var best_runway = func(apt) { # var draw_tunnel = func(rwy) { var m = geo.Coord.new().set_latlon(rwy.lat, rwy.lon); - m.apply_course_distance(rwy.heading + 180, rwy.length / 2 - rwy.threshold - HOFFSET); + m.apply_course_distance(rwy.heading, rwy.threshold + HOFFSET); var g = geodinfo(m.lat(), m.lon()); var elev = g != nil ? g[0] : apt.elevation;