Removed LockCursor static address when removing the hook.

This commit is contained in:
IcePixelx 2021-10-05 00:28:14 +02:00
parent 17d45a02aa
commit ef8b20f513

View File

@ -153,7 +153,7 @@ void Hooks::RemoveHooks()
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Unhook CMatSystemSurface functions // Unhook CMatSystemSurface functions
MH_EnableHook(MemoryAddress(0x140548A00).RCast<void*>()); MH_RemoveHook(addr_CMatSystemSurface_LockCursor);
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Unhook Utility functions // Unhook Utility functions