Skip to content

Commit 6fa8a13

Browse files
committed
Addendum to e8b6966
1 parent bd30f86 commit 6fa8a13

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Client/multiplayer_sa/CMultiplayerSA_CrashFixHacks.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,10 +1022,10 @@ static void __declspec(naked) HOOK_CrashFix_Misc30()
10221022
#define HOOKSIZE_CrashFix_Misc32 8
10231023
DWORD RETURN_CrashFix_Misc32 = 0x4CEA88;
10241024

1025-
void _declspec(naked) HOOK_CrashFix_Misc32()
1025+
static void __declspec(naked) HOOK_CrashFix_Misc32()
10261026
{
10271027
MTA_VERIFY_HOOK_LOCAL_SIZE;
1028-
_asm
1028+
__asm
10291029
{
10301030
test ecx, ecx
10311031
jz cont
@@ -2341,7 +2341,6 @@ void CMultiplayerSA::InitHooks_CrashFixHacks()
23412341
EZHookInstall(CrashFix_Misc29);
23422342
EZHookInstallChecked(CrashFix_Misc30);
23432343
EZHookInstall(CrashFix_Misc32);
2344-
EZHookInstall(CrashFix_Misc33);
23452344
EZHookInstall(CClumpModelInfo_GetFrameFromId);
23462345
EZHookInstallChecked(CEntity_GetBoundRect);
23472346
EZHookInstallChecked(CVehicle_AddUpgrade);

0 commit comments

Comments
 (0)