From c64f3767d5d83f42f598152cf9868218f16245ad Mon Sep 17 00:00:00 2001 From: OneFourOne <71578430+OneFourOne@users.noreply.github.com> Date: Fri, 19 Mar 2021 00:02:48 +0000 Subject: [PATCH] [Dvar] Unlock camera_thirdPersonCrosshairOffset --- 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 13a473b5..f342c658 100644 --- a/src/Components/Modules/Dvar.cpp +++ b/src/Components/Modules/Dvar.cpp @@ -225,6 +225,9 @@ namespace Components // set flags of cg_drawFPS to archive Utils::Hook::Or(0x4F8F69, Game::dvar_flag::DVAR_FLAG_SAVED); + // un-cheat camera_thirdPersonCrosshairOffset and add archive flags + Utils::Hook::Xor(0x447B41, Game::dvar_flag::DVAR_FLAG_CHEAT | Game::dvar_flag::DVAR_FLAG_SAVED); + // un-cheat cg_fov and add archive flags Utils::Hook::Xor(0x4F8E35, Game::dvar_flag::DVAR_FLAG_CHEAT | Game::dvar_flag::DVAR_FLAG_SAVED);