[QuickPatch] Better hook for cheat dvars

This commit is contained in:
Diavolo 2022-07-01 19:08:35 +02:00
parent 22d57a675e
commit c4af5391ca
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -683,7 +683,7 @@ namespace Components
Utils::Hook::Set<bool>(0x60AE2B, true);
// Disable cheat protection for dvars
Utils::Hook::Set<BYTE>(0x647682, 0xEB);
Utils::Hook::Set<BYTE>(0x646515, 0xEB); // Dvar_IsCheatProtected
#else
// Remove missing tag message
Utils::Hook::Nop(0x4EBF1A, 5);