From 4046cfaca4b8c850a5fc05946747c034b2952f2e Mon Sep 17 00:00:00 2001 From: yugecin Date: Mon, 27 Aug 2018 22:10:07 +0200 Subject: [PATCH] remove unused variable --- src/itdelatrisu/opsu/states/Game.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/itdelatrisu/opsu/states/Game.java b/src/itdelatrisu/opsu/states/Game.java index 8162cf6d..7ebe27d8 100644 --- a/src/itdelatrisu/opsu/states/Game.java +++ b/src/itdelatrisu/opsu/states/Game.java @@ -1077,7 +1077,6 @@ public class Game extends ComplexOpsuState { if (restart != Restart.LOSE) { // update objects (loop in unlikely event of any skipped indexes) boolean keyPressed = keys != ReplayFrame.KEY_NONE; - boolean skippedObject = false; while (objectIndex < gameObjects.length && trackPosition > beatmap.objects[objectIndex].getTime()) { // check if we've already passed the next object's start time boolean overlap = (objectIndex + 1 < gameObjects.length && @@ -1085,7 +1084,6 @@ public class Game extends ComplexOpsuState { // update hit object and check completion status if (gameObjects[objectIndex].update(overlap, delta, mouseX, mouseY, keyPressed, trackPosition)) { - skippedObject = true; objectIndex++; // done, so increment object index storyboardOverlay.updateIndex(objectIndex); if (objectIndex >= mirrorTo) {