From a402f7237b6b8b2a44affc772ba4f3bf1d0605a4 Mon Sep 17 00:00:00 2001 From: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Tue, 27 Aug 2024 22:07:30 +0100 Subject: [PATCH] Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH --- primedev/client/latencyflex.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/primedev/client/latencyflex.cpp b/primedev/client/latencyflex.cpp index df1ff2ac9..be93fabdc 100644 --- a/primedev/client/latencyflex.cpp +++ b/primedev/client/latencyflex.cpp @@ -1,7 +1,5 @@ #include "core/convar/convar.h" -AUTOHOOK_INIT() - ConVar* Cvar_r_latencyflex; void (*m_winelfx_WaitAndBeginFrame)(); @@ -34,7 +32,6 @@ ON_DLL_LOAD_CLIENT_RELIESON("client.dll", LatencyFlex, ConVar, (CModule module)) return; } - AUTOHOOK_DISPATCH() o_pOnRenderStart = module.Offset(0x1952C0).RCast(); HookAttach(&(PVOID&)o_pOnRenderStart, (PVOID)h_OnRenderStart);