From 11a7160a382e47e88e61d8fdd8fae3a60dcf2abb Mon Sep 17 00:00:00 2001 From: Diavolo Date: Sun, 9 Apr 2023 19:18:20 +0200 Subject: [PATCH] [Dvar]: Un-Cheat some harmless dvars --- src/Components/Modules/Dvar.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Components/Modules/Dvar.cpp b/src/Components/Modules/Dvar.cpp index f6ae52b2..2ee57d5d 100644 --- a/src/Components/Modules/Dvar.cpp +++ b/src/Components/Modules/Dvar.cpp @@ -411,6 +411,24 @@ namespace Components // un-cheat cg_draw2D Utils::Hook::Set(0x4F8EEE, Game::DVAR_NONE); + // un-cheat cg_overheadNamesFarScale + Utils::Hook::Set(0x4FA7C4, Game::DVAR_NONE); + + // un-cheat cg_overheadNamesSize + Utils::Hook::Set(0x4FA7F9, Game::DVAR_NONE); + + // un-cheat cg_overheadRankSize + Utils::Hook::Set(0x4FA863, Game::DVAR_NONE); + + // un-cheat cg_overheadIconSize + Utils::Hook::Set(0x4FA833, Game::DVAR_NONE); + + // un-cheat cg_overheadTitleSize + Utils::Hook::Set(0x4FA898, Game::DVAR_NONE); + + // un-cheat cg_overheadNamesGlow + Utils::Hook::Set(0x4FA8C9, Game::DVAR_NONE); + // remove archive flags for cg_hudChatPosition Utils::Hook::Xor(0x4F9992, Game::DVAR_ARCHIVE);