summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/create_move.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite/create_move.cpp')
-rw-r--r--cheat/internal_rewrite/create_move.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/cheat/internal_rewrite/create_move.cpp b/cheat/internal_rewrite/create_move.cpp
index 54c393e..2d2d548 100644
--- a/cheat/internal_rewrite/create_move.cpp
+++ b/cheat/internal_rewrite/create_move.cpp
@@ -106,23 +106,21 @@ bool __fastcall hooks::create_move( void* ecx_, void* edx_, float input_sample_f
else {
int choked = cl->m_netchannel->m_nChokedPackets;
//printf( "choked: %d\n", choked );
-
+
cl->m_netchannel->m_nChokedPackets = 0;
-
+
int in_seq = cl->m_netchannel->m_nInSequenceNr;
-
+
g_cheat.m_extra.add_latency( cl->m_netchannel );
send_datagram_o( cl->m_netchannel, 0, 0 );
-
+
cl->m_netchannel->m_nInSequenceNr = in_seq;
-
+
cl->m_netchannel->m_nOutSequenceNr--;
cl->m_netchannel->m_nChokedPackets = choked;
}
g_cheat.m_ragebot.m_antiaim->on_runcommand( );
-
-
}
else {
g_ctx.reset_shot_queue( );