mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
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:
parent
fdbd9a6452
commit
ded6d06eb1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user