Server: removed unreferenced local variable

Unused variable as current time calculation ended up being unnecessary, removed to suppress compiler warning.
This commit is contained in:
Kawe Mazidjatari 2024-04-16 02:10:08 +02:00
parent fdbd9a6452
commit ded6d06eb1

View File

@ -25,8 +25,6 @@ CPlayerMove::CPlayerMove(void)
void CPlayerMove::StaticRunCommand(CPlayerMove* thisp, CPlayer* player, CUserCmd* ucmd, IMoveHelper* moveHelper)
{
CClientExtended* const cle = g_pServer->GetClientExtended(player->GetEdict() - 1);
const float playerCurTime = (player->m_lastUCmdSimulationRemainderTime * TICK_INTERVAL) + player->m_totalExtraClientCmdTimeAttempted;
float playerFrameTime;
// Always default to clamped UserCmd frame time if this cvar is set