Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr.Abc committed Dec 14, 2024
1 parent 9f85e68 commit 35182a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Source/HUD/vgui/radar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ void CRadarPanel::RenderRadar(){
g_bInRenderRadar = true;

//why no work?
//gHookFuncs.CEngineClient_RenderView(&param, true, false, 1);
gHookFuncs.CEngineClient_RenderView(&param, true, false, 1);

g_bInRenderRadar = false;
*g_bRenderingPortals = oldRender;
Expand Down
2 changes: 1 addition & 1 deletion src/Source/clientdll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void ClientDLLHook(void* interface_ptr) {
PVOID* ProxyVFTable = *(PVOID**)&s_newclientdll;
//g_pMetaHookAPI->VFTHook(interface_ptr, 0, 1, ProxyVFTable[1], (void**)&m_pfnCClientDLL_Init);
//g_pMetaHookAPI->VFTHook(interface_ptr, 0, 2, ProxyVFTable[2], (void**)&m_pfnCClientDLL_PlaySoundFX);
g_pMetaHookAPI->VFTHook(interface_ptr, 0, 3, ProxyVFTable[3], (void**)&m_pfnCClientDLL_RenderBegin);
//g_pMetaHookAPI->VFTHook(interface_ptr, 0, 3, ProxyVFTable[3], (void**)&m_pfnCClientDLL_RenderBegin);
//g_pMetaHookAPI->VFTHook(interface_ptr, 0, 4, ProxyVFTable[4], (void**)&m_pfnCClientDLL_RenderEnd1);
//g_pMetaHookAPI->VFTHook(interface_ptr, 0, 5, ProxyVFTable[5], (void**)&m_pfnCClientDLL_RenderEnd2);
}

0 comments on commit 35182a6

Please sign in to comment.