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.
This commit is contained in:
parent
b72348f320
commit
49874ceff3
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@
|
||||||
setprop("/sim/presets/offset-distance-nm", 0);
|
setprop("/sim/presets/offset-distance-nm", 0);
|
||||||
setprop("/sim/presets/offset-azimuth-deg", 0);
|
setprop("/sim/presets/offset-azimuth-deg", 0);
|
||||||
setprop("/sim/presets/glideslope-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()) {
|
if (mode["bestrunway"].getBoolValue()) {
|
||||||
setprop("/sim/presets/runway", "");
|
setprop("/sim/presets/runway", "");
|
||||||
|
|
Loading…
Reference in a new issue