diff options
Diffstat (limited to 'primedev')
-rw-r--r-- | primedev/client/debugoverlay.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/primedev/client/debugoverlay.cpp b/primedev/client/debugoverlay.cpp index e231054d..8e860218 100644 --- a/primedev/client/debugoverlay.cpp +++ b/primedev/client/debugoverlay.cpp @@ -306,7 +306,10 @@ void, __fastcall, (bool bRender)) if (bShouldDraw && bRender && (Cvar_enable_debug_overlays->GetBool() || pCurrOverlay->m_Type == OVERLAY_SMARTAMMO)) { - DrawOverlay(pCurrOverlay); + // call the new function, not the original + // note: if there is a beter way to call the hooked version of an + // autohook func then that would be better than this + __autohookfuncDrawOverlay(pCurrOverlay); } pPrevOverlay = pCurrOverlay; |