diff --git a/AircraftConfig/error-mismatch.xml b/AircraftConfig/error-mismatch.xml index f3e33019..b2bd8c4a 100644 --- a/AircraftConfig/error-mismatch.xml +++ b/AircraftConfig/error-mismatch.xml @@ -112,7 +112,7 @@ </text> <text> <halign>left</halign> - <label>4) Contact "Wecsje" or "it0uchpods" on the FlightGear Forums.</label> + <label>4) Open a topic describing the situation in the FlightGear Forums.</label> </text> </group> diff --git a/Nasal/FMGC-b.nas b/Nasal/FMGC-b.nas index 3dc4f31d..57e34d2f 100644 --- a/Nasal/FMGC-b.nas +++ b/Nasal/FMGC-b.nas @@ -579,9 +579,12 @@ var ap_various = func { R = radius/math.sin(delta_angle_rad); dist_coeff = delta_angle * -0.011111 + 2; if (dist_coeff < 1) { - ist_coeff = 1; + dist_coeff = 1; } turn_dist = math.cos(delta_angle_rad) * R * dist_coeff / 1852; + if (getprop("/gear/gear[0]/wow") == 1 and turn_dist < 1) { + turn_dist = 1; + } setprop("/it-autoflight/internal/lnav-advance-nm", turn_dist); if (getprop("/sim/time/elapsed-sec")-getprop("/autopilot/internal/wp-change-time") > 60) { setprop("/autopilot/internal/wp-change-check-period", time); diff --git a/Systems/fmgc.xml b/Systems/fmgc.xml index 3f76fe73..e9dcdd92 100644 --- a/Systems/fmgc.xml +++ b/Systems/fmgc.xml @@ -6,7 +6,7 @@ ############################################## --> -<system name="fmgc"> +<system name="fmgs"> <property value="0">/FMGC/internal/greendot-kts</property> <channel name="GreenDot"> diff --git a/revision.txt b/revision.txt index 169d1445..5af20608 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4071 \ No newline at end of file +4072 \ No newline at end of file