Skip to content

Commit

Permalink
Attempt to catch NoCheatPlus/Issues#94.
Browse files Browse the repository at this point in the history
Couldn't reproduce, set more lenient margin on a workaround.
  • Loading branch information
asofold committed Mar 12, 2016
1 parent 8c1b21a commit ca71865
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -103,7 +103,7 @@ else if (data.insideMediumCount <= 1
&& yDistance > lastMove.yDistance - Magic.GRAVITY_MAX
&& (
// Ordinary (some old case).
lastMove.yDistance < 0.8 && yDistance < lastMove.yDistance - Magic.GRAVITY_ODD / 2.0
lastMove.yDistance < 0.8 && yDistance < lastMove.yDistance - Magic.GRAVITY_SPAN
// Check with three moves, rather shortly touching water.
|| lastMove.yDistance < -0.5 // Arbitrary, actually observed has been < -1.0
&& pastMove1.toIsValid && pastMove1.to.extraPropertiesValid
Expand Down

0 comments on commit ca71865

Please sign in to comment.