Check for non-bot for out of sync
This commit is contained in:
parent
a02ec39b10
commit
ae2e2389b2
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
|
// don't run commands in the future
|
||||||
if (!IsEngineThreaded()
|
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()) )))
|
|| ( 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);
|
DevMsg( "Client cmd out of sync (delta: %i, client: %i != server: %i).\n", ucmd->tick_count - gpGlobals->tickcount, ucmd->tick_count, gpGlobals->tickcount);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue