From 39f70b7b843d926eeb534ac1de25cc38b13c493d Mon Sep 17 00:00:00 2001 From: navewindre Date: Mon, 3 Sep 2018 23:48:51 +0200 Subject: ah --- internal_rewrite/simulate.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal_rewrite/simulate.cpp') diff --git a/internal_rewrite/simulate.cpp b/internal_rewrite/simulate.cpp index fed0840..6404a1c 100644 --- a/internal_rewrite/simulate.cpp +++ b/internal_rewrite/simulate.cpp @@ -10,6 +10,8 @@ void __fastcall hooks::simulate( void* ecx, void* edx ) { static auto ret_addr = pattern::first_code_match< void* >( g_csgo.m_engine.dll( ), "8B CE 6A FF 8B 06", -0x81 ); if( _ReturnAddress( ) == (void*)ret_addr ) { + g_ctx.run_frame( ); + g_ctx.m_stage = FRAME_RENDER_START; g_cheat.m_visuals.world_modulate( ); -- cgit v1.2.3