Removed useless check
This commit is contained in:
parent
399e6e674a
commit
f46d09bab1
1 changed files with 2 additions and 5 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue