Skip to content

Commit

Permalink
More margin for falling after data reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
asofold committed Jan 6, 2016
1 parent 6b1277e commit 222a983
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1141,7 +1141,7 @@ private double vAllowedDistanceNoData(final MoveData thisMove, final MoveData la
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;
}
Expand Down

0 comments on commit 222a983

Please sign in to comment.