diff --git a/primedev/client/audio.cpp b/primedev/client/audio.cpp index 8862a9dbcf..d32f1b60f7 100644 --- a/primedev/client/audio.cpp +++ b/primedev/client/audio.cpp @@ -11,8 +11,6 @@ namespace fs = std::filesystem; -AUTOHOOK_INIT() - static const char* pszAudioEventName; ConVar* Cvar_mileslog_enable; @@ -527,8 +525,6 @@ ON_DLL_LOAD_RELIESON("engine.dll", MilesLogFuncHooks, ConVar, (CModule module)) ON_DLL_LOAD_CLIENT_RELIESON("client.dll", AudioHooks, ConVar, (CModule module)) { - AUTOHOOK_DISPATCH() - o_pMilesLog = module.Offset(0x57DAD0).RCast(); HookAttach(&(PVOID&)o_pMilesLog, (PVOID)h_MilesLog);