# HG changeset patch # User Adam Kaminski # Date 1635612244 14400 # Sat Oct 30 12:44:04 2021 -0400 # Node ID abe15d4f605fb219f2ce1ec472d3af65b7a409e0 # Parent 4bb902ba1a3a136838eaa9b9b1d6bb65742137af Added a check in SERVER_ResetClientTicBuffer to ensure that the client is valid. diff -r 4bb902ba1a3a -r abe15d4f605f src/sv_main.cpp --- a/src/sv_main.cpp Sat Oct 30 12:42:49 2021 -0400 +++ b/src/sv_main.cpp Sat Oct 30 12:44:04 2021 -0400 @@ -5410,6 +5410,9 @@ // void SERVER_ResetClientTicBuffer( ULONG ulClient, bool bClearMoveCMDs ) { + if ( SERVER_IsValidClient( ulClient ) == false ) + return; + // [AK] Clear all stored commands in the tic buffer. if ( bClearMoveCMDs ) {