summaryrefslogtreecommitdiff
path: root/internal_rewrite/simulate.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-03 23:48:51 +0200
committernavewindre <boneyaard@gmail.com>2018-09-03 23:48:51 +0200
commit39f70b7b843d926eeb534ac1de25cc38b13c493d (patch)
tree654ac4c96dd9fb2355998d63ad866a3b52c71632 /internal_rewrite/simulate.cpp
parenta988afb947e653b96f2b188d455865cd6fc80ea0 (diff)
ah
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( );