A3XX: Fix FMGC Nasal error, #111
This commit is contained in:
parent
7c3f34407a
commit
3fec10bca0
2 changed files with 37 additions and 37 deletions
|
@ -555,6 +555,7 @@ var ap_various = func {
|
|||
}
|
||||
|
||||
if (getprop("/autopilot/route-manager/route/num") > 0 and getprop("/autopilot/route-manager/active") == 1) {
|
||||
if ((getprop("/autopilot/route-manager/current-wp") + 1) < getprop("/autopilot/route-manager/route/num")) {
|
||||
gnds_mps = getprop("/velocities/groundspeed-kt") * 0.5144444444444;
|
||||
wp_fly_from = getprop("/autopilot/route-manager/current-wp");
|
||||
if (wp_fly_from < 0) {
|
||||
|
@ -591,7 +592,6 @@ var ap_various = func {
|
|||
}
|
||||
|
||||
if (getprop("/autopilot/route-manager/wp/dist") <= turn_dist) {
|
||||
if ((getprop("/autopilot/route-manager/current-wp") + 1) < getprop("/autopilot/route-manager/route/num")) {
|
||||
setprop("/autopilot/route-manager/current-wp", getprop("/autopilot/route-manager/current-wp") + 1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
4100
|
||||
4101
|
Reference in a new issue