It doesn't crash anymore
This commit is contained in:
@@ -266,13 +266,12 @@ public class Dancer {
|
||||
double[] spinnerStartPoint = spinner.getPoint();
|
||||
c.start = new Vec2f((float) spinnerStartPoint[0], (float) spinnerStartPoint[1]);
|
||||
}
|
||||
GameObject g = gameObjects[objectIndex + 2];
|
||||
if (!g.isSpinner() && !g.isSlider())
|
||||
if (polyMoverFactory.isInitialized()) {
|
||||
polyMoverFactory.update(g);
|
||||
} else {
|
||||
polyMoverFactory.init(gameObjects, objectIndex);
|
||||
}
|
||||
|
||||
if (polyMoverFactory.isInitialized() && polyMoverFactory.getLatestIndex() < objectIndex + polyMoverFactory.getPrefferedBufferSize() - 1) {
|
||||
polyMoverFactory.update(gameObjects[polyMoverFactory.getPrefferedBufferSize() - 1]);
|
||||
} else {
|
||||
polyMoverFactory.init(gameObjects, objectIndex);
|
||||
}
|
||||
}
|
||||
|
||||
if (time < c.getTime()) {
|
||||
|
||||
Reference in New Issue
Block a user