From c87e6971e7ee4038d680ec79445958ccd21a7b3f Mon Sep 17 00:00:00 2001 From: Edo Date: Sun, 7 May 2023 19:16:58 +0100 Subject: [PATCH] [Dvars]: Remove cheat flag from jump_height (#1017) --- src/Components/Modules/Dvar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Components/Modules/Dvar.cpp b/src/Components/Modules/Dvar.cpp index 665abae7..83f43f83 100644 --- a/src/Components/Modules/Dvar.cpp +++ b/src/Components/Modules/Dvar.cpp @@ -459,6 +459,9 @@ namespace Components // un-cheat jump_slowdownEnable Utils::Hook::Xor(0x4EFABE, Game::DVAR_CHEAT); + // un-cheat jump_height + Utils::Hook::Xor(0x4EFA5C, Game::DVAR_CHEAT); + // Hook dvar 'name' registration Utils::Hook(0x40531C, Dvar_RegisterName, HOOK_CALL).install()->quick();