Skip to content

Commit

Permalink
Remove redundant checks appeared after merging with master (the issue…
Browse files Browse the repository at this point in the history
… has been already handled in 5c4fdf3)
  • Loading branch information
FreeSlave committed Dec 31, 2024
1 parent 0702acf commit d0fa019
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4081,9 +4081,6 @@ void CBasePlayer::SelectItem( const char *pstr )
if( pItem == m_pActiveItem )
return;

if( !pItem->CanDeploy())
return;

ResetAutoaim();

// FIX, this needs to queue them up and delay
Expand Down Expand Up @@ -4114,9 +4111,6 @@ void CBasePlayer::SelectLastItem( void )
return;
}

if( !m_pLastItem->CanDeploy())
return;

ResetAutoaim();

// FIX, this needs to queue them up and delay
Expand Down

0 comments on commit d0fa019

Please sign in to comment.