diff options
Diffstat (limited to 'internal_rewrite/create_move.cpp')
| -rw-r--r-- | internal_rewrite/create_move.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal_rewrite/create_move.cpp b/internal_rewrite/create_move.cpp index 1301aac..1defc78 100644 --- a/internal_rewrite/create_move.cpp +++ b/internal_rewrite/create_move.cpp @@ -101,7 +101,7 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f g_cheat.m_extra.rank_reveal( ucmd ); - if( g_cheat.m_lagmgr.get_choked( ) > 15 ) { + if( g_cheat.m_lagmgr.get_choked( ) > 16 ) { g_cheat.m_lagmgr.set_state( true ); } @@ -110,6 +110,10 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f g_cheat.m_lagmgr.on_cmove_end( ); g_ctx.on_cmove_end( ucmd ); + auto cl = g_csgo.m_global_state->get_client_state( ); + if( !g_cheat.m_lagmgr.get_state( ) ) + cl->m_last_acknowledged_cmd; + g_cheat.m_ragebot.m_antiaim->on_runcommand( ); } else { |
