1
0
Fork 0

set unknown heading preset, so that wind direction is considered if no

runway was given
This commit is contained in:
mfranz 2007-10-04 15:47:54 +00:00
parent a895da0247
commit 93955788ca

View file

@ -12,10 +12,10 @@
<nasal>
<open>
dlg = props.globals.getNode("/sim/gui/dialogs/location-on-ground", 1);
apt = dlg.getNode("airport", 1);
var dlg = props.globals.getNode("/sim/gui/dialogs/location-on-ground", 1);
var apt = dlg.getNode("airport", 1);
apt.setValue("");
rwy = dlg.getNode("runway", 1);
var rwy = dlg.getNode("runway", 1);
rwy.setValue("");
</open>
</nasal>
@ -65,7 +65,7 @@
setprop("/sim/presets/offset-distance", 0);
setprop("/sim/presets/offset-azimuth", 0);
setprop("/sim/presets/glideslope-deg", 0);
setprop("/sim/presets/heading-deg", 0);
setprop("/sim/presets/heading-deg", 9999);
</script>
</binding>
<binding>