Commit 547ba2b
Fix integer truncation in CatchBeatmapProcessor time delta calculation
Changed `timeDiff` calculation from `int` to `double` in `applyHardRockOffset` to prevent precision loss which was affecting randomization and offset application.
Updated expected values for `CatchBeatmapConversionTest` case `1431386` as the fix alters Hard Rock object positions.
Added `CatchBeatmapProcessorTest` to verify the fix.
Fixed code style issues (license header, object initializer, formatting).
Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>1 parent 05a2b14 commit 547ba2b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments