Merge pull request #346 from diamante0018/fix-cheat-dvars-debug

[QuickPatch] Better hook for cheat dvars
This commit is contained in:
Dss0 2022-07-03 00:48:46 +02:00 committed by GitHub
commit 303b80a502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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