@@ -1211,8 +1211,8 @@ void MidHook_SV_DetermineUpdateType_PackCheck(safetyhook::Context ®isters)
1211
1211
}
1212
1212
1213
1213
// skip changed prop count check if there is a set edit
1214
- safetyhook::MidHook g_MidHook_SV_DetermineUpdateType_PropCountCheck {};
1215
- void MidHook_SV_DetermineUpdateType_PropCountCheck (safetyhook::Context ®isters)
1214
+ safetyhook::MidHook g_MidHook_SV_DetermineUpdateType_VCRPrintCheck {};
1215
+ void MidHook_SV_DetermineUpdateType_VCRPrintCheck (safetyhook::Context ®isters)
1216
1216
{
1217
1217
Context context (registers);
1218
1218
@@ -1548,17 +1548,17 @@ bool SendVarEdit::SDK_OnLoad(char* error, size_t maxlength, bool late)
1548
1548
g_MidHook_SV_DetermineUpdateType_PackCheck = std::move (*midhook);
1549
1549
}
1550
1550
1551
- // create a mid-hook at the SV_DetermineUpdateType positive propcount check that always passes the check if a set edit was made
1551
+ // create a mid-hook at the SV_DetermineUpdateType VCR print check that always passes the positive propcount check if a set edit was made
1552
1552
{
1553
1553
void * address;
1554
- if (!gameconf->GetAddress (" SV_DetermineUpdateType positive propcount check" , &address))
1555
- RETURN_ERROR (" Failed to find SV_DetermineUpdateType positive propcount check." );
1554
+ if (!gameconf->GetAddress (" SV_DetermineUpdateType VCR print check" , &address))
1555
+ RETURN_ERROR (" Failed to find SV_DetermineUpdateType VCR print check." );
1556
1556
1557
- auto midhook = safetyhook::MidHook::create (address, MidHook_SV_DetermineUpdateType_PropCountCheck );
1557
+ auto midhook = safetyhook::MidHook::create (address, MidHook_SV_DetermineUpdateType_VCRPrintCheck );
1558
1558
if (!midhook.has_value ())
1559
- RETURN_ERROR (" Failed to mid-hook SV_DetermineUpdateType positive propcount check." );
1559
+ RETURN_ERROR (" Failed to mid-hook SV_DetermineUpdateType VCR print check." );
1560
1560
1561
- g_MidHook_SV_DetermineUpdateType_PropCountCheck = std::move (*midhook);
1561
+ g_MidHook_SV_DetermineUpdateType_VCRPrintCheck = std::move (*midhook);
1562
1562
}
1563
1563
1564
1564
// create a mid-hook at the SendTable_WritePropList loop break condition that skips to the continuation point if an edit was made
@@ -1637,8 +1637,8 @@ void SendVarEdit::SDK_OnUnload()
1637
1637
if (g_MidHook_SendTable_WritePropList_BreakCondition.enabled ())
1638
1638
g_MidHook_SendTable_WritePropList_BreakCondition = {};
1639
1639
1640
- if (g_MidHook_SV_DetermineUpdateType_PropCountCheck .enabled ())
1641
- g_MidHook_SV_DetermineUpdateType_PropCountCheck = {};
1640
+ if (g_MidHook_SV_DetermineUpdateType_VCRPrintCheck .enabled ())
1641
+ g_MidHook_SV_DetermineUpdateType_VCRPrintCheck = {};
1642
1642
1643
1643
if (g_MidHook_SV_DetermineUpdateType_PackCheck.enabled ())
1644
1644
g_MidHook_SV_DetermineUpdateType_PackCheck = {};
0 commit comments