Skip to content

Commit

Permalink
fixed weapon animation
Browse files Browse the repository at this point in the history
  • Loading branch information
JSaurusRex committed Dec 2, 2023
1 parent 1a8478e commit 7746aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/client/components/players.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ void CPlayers::RenderPlayer(
AttackTime = (Client()->PredIntraGameTick(g_Config.m_ClDummy) + (Client()->PredGameTick(g_Config.m_ClDummy) - 1 - Player.m_AttackTick)) / (float)Client()->GameTickSpeed();
LastAttackTime = (s_LastPredIntraTick + (Client()->PredGameTick(g_Config.m_ClDummy) - 1 - Player.m_AttackTick)) / (float)Client()->GameTickSpeed();
}
float AttackTicksPassed = AttackTime * (float)Client()->GameTickSpeed();
float AttackTicksPassed = AttackTime * 50;

float Angle;
if(Local && (!m_pClient->m_Snap.m_SpecInfo.m_Active || m_pClient->m_Snap.m_SpecInfo.m_SpectatorID != SPEC_FREEVIEW) && Client()->State() != IClient::STATE_DEMOPLAYBACK)
Expand Down

0 comments on commit 7746aaf

Please sign in to comment.