Skip to content

Commit d0fa019

Browse files
committed
Remove redundant checks appeared after merging with master (the issue has been already handled in 5c4fdf3)
1 parent 0702acf commit d0fa019

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

dlls/player.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4081,9 +4081,6 @@ void CBasePlayer::SelectItem( const char *pstr )
40814081
if( pItem == m_pActiveItem )
40824082
return;
40834083

4084-
if( !pItem->CanDeploy())
4085-
return;
4086-
40874084
ResetAutoaim();
40884085

40894086
// FIX, this needs to queue them up and delay
@@ -4114,9 +4111,6 @@ void CBasePlayer::SelectLastItem( void )
41144111
return;
41154112
}
41164113

4117-
if( !m_pLastItem->CanDeploy())
4118-
return;
4119-
41204114
ResetAutoaim();
41214115

41224116
// FIX, this needs to queue them up and delay

0 commit comments

Comments
 (0)