Profanity Filtering patch by ABRAXAS

This commit is contained in:
Werseter 2023-10-29 12:18:26 +01:00
parent 615d2eaca3
commit a7a3c64fc4

View File

@ -95,6 +95,11 @@ int LiveStorage_GetActiveStatsSource_Detour()
return 1; return 1;
} }
bool ProfanityFilter_IsBadWord_Detour()
{
return false;
}
void hooks() void hooks()
{ {
process_script_file.create(0x141322350_g, ProcessScriptFile); process_script_file.create(0x141322350_g, ProcessScriptFile);
@ -145,6 +150,8 @@ void hooks()
lui_cod_luacall_enginenotifyserver_detour_impl.create(0x1419F7160_g, LUI_CoD_LuaCall_EngineNotifyServer_Detour); lui_cod_luacall_enginenotifyserver_detour_impl.create(0x1419F7160_g, LUI_CoD_LuaCall_EngineNotifyServer_Detour);
utils::hook::jump(0x141609140_g, ProfanityFilter_IsBadWord_Detour);
// remove FF Header version check // remove FF Header version check
// db_checkxfileversion.create(0x1411A7840_g, DB_CheckXFileVersion_Detour); // db_checkxfileversion.create(0x1411A7840_g, DB_CheckXFileVersion_Detour);
} }