Merge pull request #918 from diamante0018/develop

[Dvar]: Un-Cheat some harmless dvars
This commit is contained in:
Edo 2023-04-09 19:25:59 +02:00 committed by GitHub
commit 928c9c9915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);