From 6238f378beadccf2f422f85024fed3591d0df9fe Mon Sep 17 00:00:00 2001 From: yugecin Date: Sat, 10 Dec 2016 19:54:03 +0100 Subject: [PATCH] fix shrinking knorkesliders --- src/itdelatrisu/opsu/objects/Slider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itdelatrisu/opsu/objects/Slider.java b/src/itdelatrisu/opsu/objects/Slider.java index bd1eff14..657625a5 100644 --- a/src/itdelatrisu/opsu/objects/Slider.java +++ b/src/itdelatrisu/opsu/objects/Slider.java @@ -414,7 +414,7 @@ public class Slider extends GameObject { if (Options.isMergingSliders()) { if (Options.isShrinkingSliders() && curveIntervalFrom > 0) { if (repeats % 2 == 0) { - game.spliceSliderCurve(baseSliderFrom + (int) ((1d - curveIntervalFrom) * curvelen), baseSliderFrom + curvelen + 1); + game.spliceSliderCurve(baseSliderFrom + (int) ((1d - curveIntervalFrom) * curvelen) - 1, baseSliderFrom + curvelen); } else { game.setSlidercurveFrom(baseSliderFrom + (int) (curveIntervalFrom * curvelen)); }