1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Change AimCount to not consider height

This commit is contained in:
Dean Herbert 2022-11-25 20:10:04 +09:00
parent ba0990d43e
commit 4cb068ceb9

View File

@ -172,7 +172,7 @@ namespace osu.Game.Graphics.Backgrounds
// Limited by the maximum size of QuadVertexBuffer for safety.
const int max_triangles = ushort.MaxValue / (IRenderer.VERTICES_PER_QUAD + 2);
AimCount = (int)Math.Min(max_triangles, DrawWidth * DrawHeight * 0.0005f * SpawnRatio);
AimCount = (int)Math.Min(max_triangles, DrawWidth * 0.02f * SpawnRatio);
int currentCount = parts.Count;