Fix vertical accounting not triggering an actual violation (glide).

This commit is contained in:
asofold 2013-08-10 23:47:10 +02:00
parent 2219fa0e6f
commit e24ccc734a

View File

@ -723,7 +723,7 @@ public class SurvivalFly extends Check {
return 1.3 - aDiff;
}
else{
return diff;
return Math.max(0.07, diff); // Ensure violation > 0.0 (!).
}
}
else {