[Dvars]: Remove cheat flag from jump_height (#1017)

This commit is contained in:
Edo 2023-05-07 19:16:58 +01:00 committed by GitHub
parent 54f6162a7a
commit c87e6971e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,6 +459,9 @@ namespace Components
// un-cheat jump_slowdownEnable
Utils::Hook::Xor<std::uint32_t>(0x4EFABE, Game::DVAR_CHEAT);
// un-cheat jump_height
Utils::Hook::Xor<std::uint32_t>(0x4EFA5C, Game::DVAR_CHEAT);
// Hook dvar 'name' registration
Utils::Hook(0x40531C, Dvar_RegisterName, HOOK_CALL).install()->quick();