[Dvar]: Un-Cheat some harmless dvars

This commit is contained in:
Diavolo 2023-04-09 19:18:20 +02:00
parent 33ebf76a8f
commit 11a7160a38
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -411,6 +411,24 @@ namespace Components
// un-cheat cg_draw2D
Utils::Hook::Set<std::uint8_t>(0x4F8EEE, Game::DVAR_NONE);
// un-cheat cg_overheadNamesFarScale
Utils::Hook::Set<std::uint8_t>(0x4FA7C4, Game::DVAR_NONE);
// un-cheat cg_overheadNamesSize
Utils::Hook::Set<std::uint8_t>(0x4FA7F9, Game::DVAR_NONE);
// un-cheat cg_overheadRankSize
Utils::Hook::Set<std::uint8_t>(0x4FA863, Game::DVAR_NONE);
// un-cheat cg_overheadIconSize
Utils::Hook::Set<std::uint8_t>(0x4FA833, Game::DVAR_NONE);
// un-cheat cg_overheadTitleSize
Utils::Hook::Set<std::uint8_t>(0x4FA898, Game::DVAR_NONE);
// un-cheat cg_overheadNamesGlow
Utils::Hook::Set<std::uint8_t>(0x4FA8C9, Game::DVAR_NONE);
// remove archive flags for cg_hudChatPosition
Utils::Hook::Xor<std::uint8_t>(0x4F9992, Game::DVAR_ARCHIVE);