Removed useless check

This commit is contained in:
Kamay Xutax 2024-08-28 15:03:35 +02:00
parent 399e6e674a
commit f46d09bab1

View file

@ -343,14 +343,11 @@ bool CKnife::SwingOrStab( bool bStab )
Vector vecSrc = pPlayer->Weapon_ShootPosition();
CUserCmd* playerCmd = NULL;
if (pPlayer)
{
#ifdef CLIENT_DLL
playerCmd = pPlayer->m_pCurrentCommand;
playerCmd = pPlayer->m_pCurrentCommand;
#else
playerCmd = pPlayer->GetCurrentCommand();
playerCmd = pPlayer->GetCurrentCommand();
#endif
}
if (playerCmd)
{