Check for non-bot for out of sync
This commit is contained in:
parent
a3b6b94959
commit
e09d89d7ed
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ void CCSPlayer::PlayerRunCommand( CUserCmd *ucmd, IMoveHelper *moveHelper )
|
|||
// don't run commands in the future
|
||||
if (!IsEngineThreaded()
|
||||
&& ((ucmd->tick_count > (gpGlobals->tickcount + sv_max_usercmd_future_ticks.GetInt()))
|
||||
|| ( ucmd->tick_count < (gpGlobals->tickcount - sv_max_usercmd_future_ticks.GetInt()) )))
|
||||
|| ( ucmd->tick_count < (gpGlobals->tickcount - sv_max_usercmd_future_ticks.GetInt()) )) && !IsBot())
|
||||
{
|
||||
DevMsg( "Client cmd out of sync (delta: %i, client: %i != server: %i).\n", ucmd->tick_count - gpGlobals->tickcount, ucmd->tick_count, gpGlobals->tickcount);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue