From 215818ddedc02be3a1a5c2be3912abdbcd29dd72 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 9 Sep 2018 18:28:04 +0200 Subject: detours etc --- internal_rewrite/suppress_lists.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal_rewrite/suppress_lists.cpp') diff --git a/internal_rewrite/suppress_lists.cpp b/internal_rewrite/suppress_lists.cpp index 93c31b2..01036ea 100644 --- a/internal_rewrite/suppress_lists.cpp +++ b/internal_rewrite/suppress_lists.cpp @@ -5,9 +5,7 @@ #include "settings.hpp" #include "base_cheat.hpp" -void __fastcall hooks::suppress_lists( void* ecx, void* edx, int list_mask, bool suppress ) { - static auto suppress_lists_o = g_csgo.m_partition->get_old_function< decltype( &hooks::suppress_lists ) >( 16 ); - +void __fastcall hooks::suppress_lists( void* ecx, void* edx, int list_mask, bool suppress ) { #ifdef HEADER_MODULE static auto net_update_ret = g_header.patterns.net_update_retaddr; #else -- cgit v1.2.3