Commit 05a2b14
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.
Addressed code style issues (license header, object initializer).
Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>1 parent e8358f6 commit 05a2b14
1 file changed
Lines changed: 4 additions & 2 deletions
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments