mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-26 22:54:39 +00:00
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 );
|
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)
|
void CPar21::WeaponIdle(void)
|
||||||
{
|
{
|
||||||
ResetEmptySound();
|
ResetEmptySound();
|
||||||
|
@ -844,7 +844,6 @@ public:
|
|||||||
int SecondaryAmmoIndex( void );
|
int SecondaryAmmoIndex( void );
|
||||||
BOOL Deploy( void );
|
BOOL Deploy( void );
|
||||||
void Reload( void );
|
void Reload( void );
|
||||||
BOOL IsUseable();
|
|
||||||
void WeaponIdle( void );
|
void WeaponIdle( void );
|
||||||
int m_iShell;
|
int m_iShell;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user