1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Fix potential tick overflow.

This commit is contained in:
Dean Herbert 2017-04-05 13:52:22 +09:00
parent 6a922da87e
commit 3f20e2381f
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -86,7 +86,7 @@ namespace osu.Game.Modes.Taiko.Objects
return ret; return ret;
bool first = true; 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 ret.Add(new DrumRollTick
{ {