summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/packet_start.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/internal_rewrite/packet_start.cpp')
-rw-r--r--cheat/internal_rewrite/packet_start.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cheat/internal_rewrite/packet_start.cpp b/cheat/internal_rewrite/packet_start.cpp
index a5c9db4..c24e722 100644
--- a/cheat/internal_rewrite/packet_start.cpp
+++ b/cheat/internal_rewrite/packet_start.cpp
@@ -3,6 +3,7 @@
void __fastcall hooks::packet_start( void* ecx, void* edx, int in_seq, int out_ack ) {
if( !g_ctx.run_frame( ) || !g_ctx.m_local->is_valid( ) ) {
+ g_ctx.m_cmd_numbers.clear( );
*( int* )( uintptr_t( ecx ) + 0x114 ) = in_seq;
*( int* )( uintptr_t( ecx ) + 0x4cb4 ) = out_ack;
}