Couldn't reproduce, set more lenient margin on a workaround.
This commit is contained in:
asofold 2016-03-12 16:52:53 +01:00
parent 8c1b21a96c
commit ca71865589

View File

@ -103,7 +103,7 @@ public class MagicLiquid {
&& 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