Do not override IsUseable function for par21.

This commit is contained in:
Andrey Akhmichin 2021-06-06 20:30:35 +05:00
parent 6daa9335cd
commit d735beb2b7
2 changed files with 0 additions and 7 deletions

View File

@ -231,12 +231,6 @@ void CPar21::Reload(void)
DefaultReload( PAR21_MAX_CLIP, PAR21_RELOAD, 1.6 );
}
BOOL CPar21::IsUseable()
{
//Can be used if the player has AR grenades. - Solokiller
return CBasePlayerWeapon::IsUseable() || m_pPlayer->m_rgAmmo[m_iSecondaryAmmoType] > 0;
}
void CPar21::WeaponIdle(void)
{
ResetEmptySound();

View File

@ -844,7 +844,6 @@ public:
int SecondaryAmmoIndex( void );
BOOL Deploy( void );
void Reload( void );
BOOL IsUseable();
void WeaponIdle( void );
int m_iShell;