Skip to content

Commit 58a5984

Browse files
committed
fix?!
1 parent d6684fc commit 58a5984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rehlds/engine/sv_user.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,8 +756,8 @@ void SV_RunCmd(usercmd_t *ucmd, int random_seed)
756756
{
757757
#ifdef REHLDS_FIXES
758758
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 );
759+
float playerFrameTime = (1.0f / sys_ticrate.value);
760+
float flTimeAllowedForProcessing = gameClient->ConsumeMovementTimeForUserCmdProcessing( playerFrameTime );
761761
bool isBot = host_client->fakeclient;
762762
if ( !isBot && ( flTimeAllowedForProcessing < playerFrameTime ) )
763763
{

0 commit comments

Comments
 (0)