From 2f14a76ea689f97b9e1683519282c2ae467ca117 Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Mon, 18 Jul 2022 04:34:32 +0300 Subject: [PATCH] make mis_cheat saves --- src/client/component/patches.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/component/patches.cpp b/src/client/component/patches.cpp index c84d6c01..48ca2740 100644 --- a/src/client/component/patches.cpp +++ b/src/client/component/patches.cpp @@ -298,6 +298,9 @@ namespace patches dvars::override::register_float("cg_fovScale", 1.f, 0.1f, 2.f, game::DvarFlags::DVAR_FLAG_SAVED); dvars::override::register_float("cg_fovMin", 1.f, 1.0f, 90.f, game::DvarFlags::DVAR_FLAG_SAVED); + // Makes mis_cheat saved dvar + dvars::override::register_bool("mis_cheat", 0, game::DVAR_FLAG_SAVED); + // Allow kbam input when gamepad is enabled utils::hook::nop(SELECT_VALUE(0x1AC0CE_b, 0x135EFB_b), 2); utils::hook::nop(SELECT_VALUE(0x1A9DDC_b, 0x13388F_b), 6);