We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6684fc commit 58a5984Copy full SHA for 58a5984
rehlds/engine/sv_user.cpp
@@ -756,8 +756,8 @@ void SV_RunCmd(usercmd_t *ucmd, int random_seed)
756
{
757
#ifdef REHLDS_FIXES
758
auto gameClient = g_GameClients[host_client - g_psvs.clients];
759
- const float playerFrameTime = (1.0f / sys_ticrate.value);
760
- const float flTimeAllowedForProcessing = gameClient->ConsumeMovementTimeForUserCmdProcessing( playerFrameTime );
+ float playerFrameTime = (1.0f / sys_ticrate.value);
+ float flTimeAllowedForProcessing = gameClient->ConsumeMovementTimeForUserCmdProcessing( playerFrameTime );
761
bool isBot = host_client->fakeclient;
762
if ( !isBot && ( flTimeAllowedForProcessing < playerFrameTime ) )
763
0 commit comments