mirror of https://github.com/FWGS/hlsdk-xash3d
Do not override IsUseable function for par21.
This commit is contained in:
parent
6daa9335cd
commit
d735beb2b7
|
@ -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();
|
||||
|
|
|
@ -844,7 +844,6 @@ public:
|
|||
int SecondaryAmmoIndex( void );
|
||||
BOOL Deploy( void );
|
||||
void Reload( void );
|
||||
BOOL IsUseable();
|
||||
void WeaponIdle( void );
|
||||
int m_iShell;
|
||||
|
||||
|
|
Loading…
Reference in New Issue