summaryrefslogtreecommitdiff
path: root/internal_rewrite/simulate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'internal_rewrite/simulate.cpp')
-rw-r--r--internal_rewrite/simulate.cpp2
1 files changed, 2 insertions, 0 deletions
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( );