From 49874ceff33494545774684d2767ca3e03cf3cac Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Tue, 5 May 2020 08:04:33 +0100 Subject: [PATCH] Align heading with runway on Select Airport Previously the Select Airport dialog set the heading preset to 0. A recent change in the reposition code meant that this was now being complied with. This change fixes it by setting the heading to the "uninitialized" special value of 9999.0. --- gui/dialogs/airports.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/dialogs/airports.xml b/gui/dialogs/airports.xml index 4231206c6..0577922fe 100644 --- a/gui/dialogs/airports.xml +++ b/gui/dialogs/airports.xml @@ -235,7 +235,7 @@ setprop("/sim/presets/offset-distance-nm", 0); setprop("/sim/presets/offset-azimuth-deg", 0); setprop("/sim/presets/glideslope-deg", 0); - setprop("/sim/presets/heading-deg", 0); + setprop("/sim/presets/heading-deg", 9999.0); if (mode["bestrunway"].getBoolValue()) { setprop("/sim/presets/runway", "");