mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 05:52:54 +08:00
Fix hit accuracy heatmap points being offset
This commit is contained in:
parent
9e7912e663
commit
891346f795
@ -191,7 +191,7 @@ namespace osu.Game.Rulesets.Osu.Statistics
|
|||||||
|
|
||||||
for (int c = 0; c < points_per_dimension; c++)
|
for (int c = 0; c < points_per_dimension; c++)
|
||||||
{
|
{
|
||||||
HitPointType pointType = Vector2.Distance(new Vector2(c, r), centre) <= innerRadius
|
HitPointType pointType = Vector2.Distance(new Vector2(c + 0.5f, r + 0.5f), centre) <= innerRadius
|
||||||
? HitPointType.Hit
|
? HitPointType.Hit
|
||||||
: HitPointType.Miss;
|
: HitPointType.Miss;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user