1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 04:53:38 +08:00

Change AimCount to not consider height

This commit is contained in:
Dean Herbert
2022-11-25 20:10:04 +09:00
Unverified
parent ba0990d43e
commit 4cb068ceb9
+1 -1
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;