Merge pull request #29 from nillerusr/misalign-fixes

Misalign fixes
This commit is contained in:
nillerusr
2021-11-14 13:31:02 +03:00
committed by GitHub
7 changed files with 119 additions and 120 deletions

View File

@@ -3380,12 +3380,14 @@ void CBasePlayer::PhysicsSimulate( void )
pi->m_nNumCmds = commandsToRun;
}
}
#if 0
else if ( GetTimeSinceLastUserCommand() > sv_player_usercommand_timeout.GetFloat() )
{
// no usercommand from player after some threshold
// server should start RunNullCommand as if client sends an empty command so that Think and gamestate related things run properly
RunNullCommand();
}
#endif
// Restore the true server clock
// FIXME: Should this occur after simulation of children so