shrink the slider faster

This commit is contained in:
yugecin 2016-12-04 21:53:10 +01:00
parent a3af1c71b8
commit 0eb09d4e0d

View File

@ -398,7 +398,7 @@ public class Slider extends GameObject {
if (repeats % 2 == 0) {
game.spliceSliderCurve(baseSliderFrom + (int) ((1f - curveIntervalFrom) * curvelen), baseSliderFrom + curvelen);
} else {
game.setSlidercurveFrom(baseSliderFrom + (int) (curveIntervalFrom * curvelen));
game.setSlidercurveFrom(baseSliderFrom + (int) (curveIntervalFrom * curvelen) + 1);
}
}
game.setSlidercurveTo(baseSliderFrom + (int) (curveIntervalTo * curve.getCurvePoints().length));