fix initial circle animation position

This commit is contained in:
yugecin 2016-12-18 14:53:04 +01:00
parent 3c6b20f4c8
commit 55fa6f4070

View File

@ -463,10 +463,10 @@ public class Slider implements GameObject {
if (timeDiff < hitResultOffset[GameData.HIT_50]) { if (timeDiff < hitResultOffset[GameData.HIT_50]) {
result = GameData.HIT_SLIDER30; result = GameData.HIT_SLIDER30;
ticksHit++; ticksHit++;
data.sendAnimationResult(trackPosition, x, y, color, true); data.sendAnimationResult(trackPosition, this.x, this.y, color, true);
} else if (timeDiff < hitResultOffset[GameData.HIT_MISS]) { } else if (timeDiff < hitResultOffset[GameData.HIT_MISS]) {
result = GameData.HIT_MISS; result = GameData.HIT_MISS;
data.sendAnimationResult(trackPosition, x, y, color, false); data.sendAnimationResult(trackPosition, this.x, this.y, color, false);
} }
//else not a hit //else not a hit