Skip to content

Commit

Permalink
Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames committed Aug 25, 2024
1 parent 02d72b1 commit 86da6d2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions primedev/client/audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

namespace fs = std::filesystem;

AUTOHOOK_INIT()

static const char* pszAudioEventName;

ConVar* Cvar_mileslog_enable;
Expand Down Expand Up @@ -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<decltype(o_pMilesLog)>();
HookAttach(&(PVOID&)o_pMilesLog, (PVOID)h_MilesLog);

Expand Down

0 comments on commit 86da6d2

Please sign in to comment.