summaryrefslogtreecommitdiff
path: root/internal_rewrite/create_move.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-11-13 00:42:56 +0100
committernavewindre <boneyaard@gmail.com>2018-11-13 00:42:56 +0100
commit5e5b152f4b62432655cc4069c1d95be636749b7d (patch)
tree3fc1433561fb6c90a04f3a671afca4df91a653a4 /internal_rewrite/create_move.cpp
parentd106396b02c486c9135c505ed82b73431f2c27de (diff)
yo sick
Diffstat (limited to 'internal_rewrite/create_move.cpp')
-rw-r--r--internal_rewrite/create_move.cpp6
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 {