Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
Fix code error (#4509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Intoprelised authored Sep 10, 2021
1 parent c905289 commit ad69b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Memory/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void Hooks::Init() {
int offset = *reinterpret_cast<int*>(sigOffset + 3);
uintptr_t** moveInputVtable = reinterpret_cast<uintptr_t**>(sigOffset + offset + 7);
if (moveInputVtable == 0x0 || sigOffset == 0x0)
logF("C_GameMode signature not working!!!");
logF("C_MoveInputHandler signature not working!!!");
else {
g_Hooks.MoveInputHandler_tickHook = std::make_unique<FuncHook>(moveInputVtable[1], Hooks::MoveInputHandler_tick);
}
Expand Down

0 comments on commit ad69b1c

Please sign in to comment.