[saco] Implement/match RestoreMousePositionUpdate()

This commit is contained in:
RD42 2024-07-28 23:05:23 +08:00
parent bc7a9114a0
commit 015e5ac3f7

View File

@ -195,6 +195,16 @@ void DisableMousePositionUpdate()
*(DWORD*)0x53F4B3 = (DWORD)&dwDummyActiveMouseState; *(DWORD*)0x53F4B3 = (DWORD)&dwDummyActiveMouseState;
} }
void RestoreMousePositionUpdate()
{
UnFuck(0x53F47A,4);
UnFuck(0x53F49A,4);
UnFuck(0x53F4B3,4);
*(DWORD*)0x53F47A = 0xB73410;
*(DWORD*)0x53F49A = 0xB73414;
*(DWORD*)0x53F4B3 = 0xB7340C;
}
void CGame::InitGame() void CGame::InitGame()
{ {
// Create a buffer for game text. // Create a buffer for game text.