diff options
Diffstat (limited to 'internal_rewrite/suppress_lists.cpp')
| -rw-r--r-- | internal_rewrite/suppress_lists.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal_rewrite/suppress_lists.cpp b/internal_rewrite/suppress_lists.cpp index 12fb7bb..93c31b2 100644 --- a/internal_rewrite/suppress_lists.cpp +++ b/internal_rewrite/suppress_lists.cpp @@ -9,12 +9,12 @@ void __fastcall hooks::suppress_lists( void* ecx, void* edx, int list_mask, bool static auto suppress_lists_o = g_csgo.m_partition->get_old_function< decltype( &hooks::suppress_lists ) >( 16 ); #ifdef HEADER_MODULE - static auto net_update_ret = g_header.patterns.net_update_ret; + static auto net_update_ret = g_header.patterns.net_update_retaddr; #else static auto net_update_ret = pattern::first_code_match< void* >( g_csgo.m_chl.dll( ), "5F 5E 5D C2 04 00 83 3D ? ? ? ? ?" ); #endif - if( _ReturnAddress( ) == net_update_ret ) { + if( _ReturnAddress( ) == (void*)net_update_ret ) { g_ctx.m_stage = FRAME_NET_UPDATE_START; g_cheat.m_visuals.world_modulate( ); // FRAME_NET_UPDATE_START |
