Skip to content

Commit

Permalink
Fix burst slider constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernthedev committed Jul 10, 2024
1 parent dde8e80 commit 82cf86f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Hooks/FakeNotes/BeatmapData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,11 @@ MAKE_HOOK_MATCH(V3_BeatmapDataLoader_GetBeatmapDataFromSaveData,
PARSE_ARRAY(fakeBurstSliders, Parser::DeserializeBurstSlider,
[&](v3::CustomBeatmapSaveData_BurstSliderData* data) -> CustomSliderData* {
return CustomSliderData_CreateCustomBurstSliderData(
ConvertColorType(data->get_colorType()), BeatToTime(data->b), data->get_headLine(),
ConvertNoteLineLayer(data->get_headLayer()), ConvertNoteLineLayer(data->get_tailLayer()),
ConvertNoteCutDirection(data->get_headCutDirection()), BeatToTime(data->get_tailBeat()),
data->get_tailLine(), ConvertNoteLineLayer(data->get_tailLayer()),
ConvertNoteLineLayer(data->get_tailLayer()), NoteCutDirection::Any, data->get_sliceCount(),
data->get_squishAmount(), data->customData);
ConvertColorType(data->colorType), BeatToTime(data->beat), data->headLine,
ConvertNoteLineLayer(data->headLayer), ConvertNoteLineLayer(data->headLayer),
ConvertNoteCutDirection(data->headCutDirection), BeatToTime(data->tailBeat), data->tailLine,
ConvertNoteLineLayer(data->tailLayer), ConvertNoteLineLayer(data->tailLayer), data->sliceCount,
data->squishAmount, data->customData);
});

customBeatmap->ProcessRemainingData();
Expand Down

0 comments on commit 82cf86f

Please sign in to comment.