summaryrefslogtreecommitdiff
path: root/cheat/internal_rewrite/packet_start.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-12-05 00:08:02 +0100
committernavewindre <boneyaard@gmail.com>2018-12-05 00:08:02 +0100
commitbca49754578cd6c002fa258f89fe85bb9966e9c1 (patch)
treee01c099cc5520eb854a4d1740ff299f78953b4e0 /cheat/internal_rewrite/packet_start.cpp
parent389bf49dccc42ead9e3157d911ff1468260645f6 (diff)
Auto stash before merge of "master" and "origin/master"
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;
}