From eadbdbee78702efa33c0504aa96f183417712f38 Mon Sep 17 00:00:00 2001 From: Pavel Kolchev Date: Sun, 29 Mar 2015 03:06:26 +0300 Subject: [PATCH] Remove unnecessary re-creation of curve. --- src/itdelatrisu/opsu/objects/Slider.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/itdelatrisu/opsu/objects/Slider.java b/src/itdelatrisu/opsu/objects/Slider.java index edc83749..1ac251f3 100644 --- a/src/itdelatrisu/opsu/objects/Slider.java +++ b/src/itdelatrisu/opsu/objects/Slider.java @@ -455,11 +455,6 @@ public class Slider implements HitObject { public void updatePosition() { this.x = hitObject.getScaledX(); this.y = hitObject.getScaledY(); - - if (hitObject.getSliderType() == OsuHitObject.SLIDER_PASSTHROUGH && hitObject.getSliderX().length == 2) - this.curve = new CircumscribedCircle(hitObject, color); - else - this.curve = new LinearBezier(hitObject, color); } @Override