More margin for falling after data reset.

This commit is contained in:
asofold 2016-01-06 23:32:40 +01:00
parent 6b1277e981
commit 222a983e34

View File

@ -1141,7 +1141,7 @@ public class SurvivalFly extends Check {
tags.add("data_missing");
}
double vAllowedDistance;
if (thisMove.yDistance > - Magic.GRAVITY_MAX && thisMove.yDistance < 0.0) {
if (thisMove.yDistance > - Magic.GRAVITY_MAX - Magic.GRAVITY_SPAN && thisMove.yDistance < 0.0) {
// Allow falling.
vAllowedDistance = thisMove.yDistance;
}