Skip to content

Commit 288bc65

Browse files
committed
Addendum to 1f2dc7a
1 parent b34f3eb commit 288bc65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Client/multiplayer_sa/CMultiplayerSA_Rendering.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ static void __declspec(naked) HOOK_CTimer_Update()
395395
static const DWORD CONTINUE_CTimer_Suspend = 0x5619EF;
396396
static void _declspec(naked) HOOK_CTimer_Suspend()
397397
{
398+
MTA_VERIFY_HOOK_LOCAL_SIZE;
399+
398400
_asm
399401
{
400402
// Check if _timerFunction is NULL
@@ -419,6 +421,8 @@ static void _declspec(naked) HOOK_CTimer_Suspend()
419421
static const DWORD CONTINUE_CTimer_Resume = 0x561A17;
420422
static void _declspec(naked) HOOK_CTimer_Resume()
421423
{
424+
MTA_VERIFY_HOOK_LOCAL_SIZE;
425+
422426
_asm
423427
{
424428
// Check if _timerFunction is NULL

0 commit comments

Comments
 (0)