fix: use correct vfuncs

This commit is contained in:
Anna 2022-05-12 22:32:01 -04:00
parent c4a6f6c188
commit 20a85b4df7

View File

@ -185,10 +185,10 @@ internal sealed unsafe class Chat : IDisposable {
*(int*) (uiModule + this._linkshellCycleOffset.Value) = -1; *(int*) (uiModule + this._linkshellCycleOffset.Value) = -1;
} }
return RotateLinkshellHistoryInternal(189, mode); return RotateLinkshellHistoryInternal(201, mode);
} }
internal ulong RotateCrossLinkshellHistory(RotateMode mode) => RotateLinkshellHistoryInternal(191, mode); internal ulong RotateCrossLinkshellHistory(RotateMode mode) => RotateLinkshellHistoryInternal(203, mode);
private static ulong RotateLinkshellHistoryInternal(int vfunc, RotateMode mode) { private static ulong RotateLinkshellHistoryInternal(int vfunc, RotateMode mode) {
var idx = mode switch { var idx = mode switch {