# HG changeset patch # User Adam Kaminski # Date 1635689836 14400 # Sun Oct 31 10:17:16 2021 -0400 # Node ID dd647b955529606b21379c6dde097460a3d078f7 # Parent 7a06904a3a5dd723d83f32238501ce8daad39a74 Fixed only movement commands that arrived too late from being ignored. We must also ignore backup weapon select commands that arrive too late. diff -r 7a06904a3a5d -r dd647b955529 src/sv_main.cpp --- a/src/sv_main.cpp Sun Oct 31 08:51:30 2021 -0400 +++ b/src/sv_main.cpp Sun Oct 31 10:17:16 2021 -0400 @@ -5166,10 +5166,10 @@ const ULONG ulClientTic = cmd->getClientTic( ); const bool bIsMoveCMD = cmd->isMoveCmd( ); - // [AK] Ignore move commands that arrived too late or are duplicates of move commands we already - // processed, neither of which we can account for anymore. This way, we aren't processing the - // same commands again, or that happened too far into the past. - if (( bIsMoveCMD ) && ( ulClientTic <= g_aClients[g_lCurrentClient].ulClientGameTic )) + // [AK] Ignore commands that arrived too late or are duplicates of commands we already processed, + // neither of which we can account for anymore. This way, we aren't processing the same commands + // again, or that happened too far into the past. + if (( ulClientTic != 0 ) && ( ulClientTic <= g_aClients[g_lCurrentClient].ulClientGameTic )) { delete cmd; return false;