1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 17:54:29 +08:00
Files
osu-lazer/osu.Game.Rulesets.Catch/Difficulty
T
Dan Balasescu 5f350aa66f Fix float division
Firstly, this is intended to be a float division.

Secondly, dividing integers by 0 results in an exception, but dividing
non-zero floats by 0 results in +/- infinity which will be clamped to
the upper range.
In particular, this occurs when the beatmap has 1 hitobject (0 drain
length).
5f350aa66f · 2023-06-27 17:14:35 +09:00
History
..
2023-06-27 17:14:35 +09:00