From 92390105b3033b557be746f29ced6721651b0c49 Mon Sep 17 00:00:00 2001 From: Tornamic <103134732+Tornamic@users.noreply.github.com> Date: Fri, 27 Dec 2024 05:25:08 +0200 Subject: [PATCH] remove duplicate hook CHeli__ProcessControl (#3910) --- Client/multiplayer_sa/multiplayer_keysync.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Client/multiplayer_sa/multiplayer_keysync.cpp b/Client/multiplayer_sa/multiplayer_keysync.cpp index 5807350dbb..704020a18b 100644 --- a/Client/multiplayer_sa/multiplayer_keysync.cpp +++ b/Client/multiplayer_sa/multiplayer_keysync.cpp @@ -51,7 +51,6 @@ VOID InitKeysyncHooks() HookInstallMethod(VTBL_CBoat__ProcessControl, (DWORD)HOOK_CBoat__ProcessControl); HookInstallMethod(VTBL_CBike__ProcessControl, (DWORD)HOOK_CBike__ProcessControl); HookInstallMethod(VTBL_CHeli__ProcessControl, (DWORD)HOOK_CHeli__ProcessControl); - HookInstallMethod(VTBL_CHeli__ProcessControl, (DWORD)HOOK_CHeli__ProcessControl); // not strictly for keysync, to make CPlayerPed::GetPlayerInfoForThisPlayerPed always return the local playerinfo // 00609FF2 EB 1F JMP SHORT gta_sa_u.0060A013