1
0
Fork 0

Issue #1222: one cannot use <!-- for comments in Nasal files.

This commit is contained in:
Gijs de Rooy 2013-10-08 22:26:30 +02:00
parent b5cc1494c9
commit 5d503e5f38

View file

@ -371,7 +371,7 @@ var CAS = {
return 0; return 0;
} }
var mach = getprop("/velocities/mach"); var mach = getprop("/velocities/mach");
var slip = -getprop("/orientation/side-slip-deg"); <!-- inverted after a change in side-slip sign (bug #901) --> var slip = -getprop("/orientation/side-slip-deg"); # inverted after a change in side-slip sign (bug #901)
var min_speed_threshold = getprop("/controls/flight/fcs/gains/cas/input/anti-side-slip-min-speed"); var min_speed_threshold = getprop("/controls/flight/fcs/gains/cas/input/anti-side-slip-min-speed");
if (mach < min_speed_threshold) { # works only if air speed > min_speed_threshold if (mach < min_speed_threshold) { # works only if air speed > min_speed_threshold
slip = 0; slip = 0;