From 30485d2a5eb12048ebf935b02cbb048da535670c Mon Sep 17 00:00:00 2001 From: JustSomePwner Date: Sat, 1 Sep 2018 16:43:05 +0200 Subject: fixing hungry nave code --- internal_rewrite/begin_lock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal_rewrite/begin_lock.cpp') diff --git a/internal_rewrite/begin_lock.cpp b/internal_rewrite/begin_lock.cpp index 94804d3..49079cd 100644 --- a/internal_rewrite/begin_lock.cpp +++ b/internal_rewrite/begin_lock.cpp @@ -18,7 +18,7 @@ void __fastcall hooks::begin_lock( void* ecx, void* edx ) { // THIS IS PROLLY NO static auto ret_addr = pattern::first_code_match< void* >( g_csgo.m_engine.dll( ), "A1 ? ? ? ? B9 ? ? ? ? 6A 00 FF 50 18 8B 15 ? ? ? ?" ); #endif - if( _ReturnAddress( ) == ret_addr ) { + if( _ReturnAddress( ) == (void*)ret_addr ) { g_ctx.m_stage = FRAME_NET_UPDATE_POSTDATAUPDATE_START; g_cheat.m_visuals.world_modulate( ); -- cgit v1.2.3