* Reduces natives called in hotkey_service::wndproc to prevent collisions.
* Removed debug code from carmod_shop::STAT_GET_INT
* Fixed #2152.
* Added sanity check to script thread in hotkey_service::wndproc.
Made is_mp_chat_active atomic to ensure cache coherence.
* Closes #2164
This commit is contained in:
gir489
2023-09-20 10:27:39 -04:00
committed by GitHub
parent 1817ee9fda
commit 04cfa46d78
6 changed files with 26 additions and 4 deletions

View File

@ -114,6 +114,7 @@ namespace big
add_native_detour(0xEB354E5376BC81A7, all_scripts::HUD_FORCE_WEAPON_WHEEL);
add_native_detour(0x158C16F5E4CF41F8, all_scripts::RETURN_TRUE); // bypass casino country restrictions
add_native_detour(0xE679E3E06E363892, all_scripts::NETWORK_OVERRIDE_CLOCK_TIME);
add_native_detour(0x6B76DC1F3AE6E6A3, all_scripts::SET_ENTITY_HEALTH);
add_native_detour(0x40EB1EFD921822BC, all_scripts::DO_NOTHING); // SECURITY::REGISTER_SCRIPT_VARIABLE
add_native_detour(0x340A36A700E99699, all_scripts::DO_NOTHING); // SECURITY::UNREGISTER_SCRIPT_VARIABLE
add_native_detour(0x8E580AB902917360, all_scripts::DO_NOTHING); // SECURITY::FORCE_CHECK_SCRIPT_VARIABLES