don't show slider endcircle fadeout animation

This commit is contained in:
yugecin 2016-12-10 17:28:58 +01:00
parent 0132f00073
commit b76a3b366d

View File

@ -898,7 +898,7 @@ public class GameData {
// hit animation
if (hitResult.result != HIT_MISS && (
hitResult.hitResultType == null ||
hitResult.hitResultType == null || // null => initial slider circle
hitResult.hitResultType == HitObjectType.CIRCLE ||
hitResult.hitResultType == HitObjectType.SLIDER_FIRST ||
hitResult.hitResultType == HitObjectType.SLIDER_LAST)) {
@ -922,6 +922,7 @@ public class GameData {
hitResult.color.a = oldColorAlpha;
}
if (hitResult.hitResultType == null || hitResult.hitResultType == HitObjectType.CIRCLE) {
// hit circles
Image scaledHitCircle = GameImage.HITCIRCLE.getImage().getScaledCopy(scale);
Image scaledHitCircleOverlay = GameImage.HITCIRCLE_OVERLAY.getImage().getScaledCopy(scale);
@ -931,6 +932,7 @@ public class GameData {
scaledHitCircleOverlay.drawCentered(hitResult.x, hitResult.y);
}
}
}
// hit result
if (!hitResult.hideResult && (