Update patches.cpp

Changed dvl flag from none to read. It may solve bug as discussed on Discord.
This commit is contained in:
Edo 2021-04-22 11:43:12 +02:00 committed by GitHub
parent 3193980cef
commit ace8082d95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,7 +289,7 @@ namespace patches
utils::hook::set<uint8_t>(0x14019B9B9, 0xEB);
// some anti tamper thing that kills performance
dvars::override::Dvar_RegisterInt("dvl", 0, 0, 0, game::DVAR_FLAG_NONE);
dvars::override::Dvar_RegisterInt("dvl", 0, 0, 0, game::DVAR_FLAG_READ);
// unlock safeArea_*
utils::hook::jump(0x140219F5E, 0x140219F67);