fix mirror curve for mergingsliders

This commit is contained in:
yugecin 2016-12-11 14:37:48 +01:00
parent cfa27727db
commit 642baf1081

View File

@ -1606,6 +1606,12 @@ public class Game extends BasicGameState {
private void drawHitObjects(Graphics g, int trackPosition) {
if (Options.isMergingSliders() && knorkesliders != null) {
knorkesliders.draw(Color.white, this.slidercurveFrom, this.slidercurveTo);
if (Options.isMirror()) {
g.pushTransform();
g.rotate(Options.width / 2f, Options.height / 2f, 180f);
knorkesliders.draw(Color.white, this.slidercurveFrom, this.slidercurveTo);
g.popTransform();
}
}
// include previous object in follow points
int lastObjectIndex = -1;