Fix potential tick overflow.

This commit is contained in:
Dean Herbert
2017-04-05 13:52:22 +09:00
parent 6a922da87e
commit 3f20e2381f

View File

@ -86,7 +86,7 @@ namespace osu.Game.Modes.Taiko.Objects
return ret;
bool first = true;
for (double t = StartTime; t < EndTime + (int)tickSpacing; t += tickSpacing)
for (double t = StartTime; t < EndTime + tickSpacing / 2; t += tickSpacing)
{
ret.Add(new DrumRollTick
{