Skip to content

Fixed ReassignGearsetId params in RaptureGearsetModule#1730

Merged
wolfcomp merged 1 commit intoaers:mainfrom
Ryan-RH:main
Feb 28, 2026
Merged

Fixed ReassignGearsetId params in RaptureGearsetModule#1730
wolfcomp merged 1 commit intoaers:mainfrom
Ryan-RH:main

Conversation

@Ryan-RH
Copy link
Contributor

@Ryan-RH Ryan-RH commented Feb 27, 2026

Attempting to move a gearset at slot 34 into an empty slot using original parameters results in a fail. Swapped the parameter names.

private unsafe void ReassignGearsetIdTest(string command, string args)
{
    var instance = RaptureGearsetModule.Instance();
    Log.Debug($"Moving gearset id 34 into empty id 40");
    var ret = instance->ReassignGearsetId(34, 40);
    Log.Debug($"instance->ReassignGearsetId(34, 40) - Ret: {ret}");
    ret = instance->ReassignGearsetId(40, 34);
    Log.Debug($"instance->ReassignGearsetId(40, 34) - Ret: {ret}");
}

21:21:59.603 | DBG | [GearsetSort] Moving gearset id 34 into empty id 40
21:21:59.603 | DBG | [GearsetSort] instance->ReassignGearsetId(34, 40) - Ret: -1
21:21:59.603 | DBG | [GearsetSort] instance->ReassignGearsetId(40, 34) - Ret: 40

@wolfcomp wolfcomp merged commit 5bba7f5 into aers:main Feb 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants