game: fix const CanHolster

This commit is contained in:
SanyaSho 2022-08-10 22:29:10 +03:00
parent ac3471eb39
commit 7589b5602d
4 changed files with 5 additions and 5 deletions

View File

@ -331,7 +331,7 @@ void CTFMinigun::WindUp( void )
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
bool CTFMinigun::CanHolster( void ) const
bool CTFMinigun::CanHolster( void )
{
if ( m_iWeaponState > AC_STATE_IDLE )
return false;

View File

@ -56,7 +56,7 @@ public:
void SharedAttack();
virtual void WeaponIdle();
virtual bool SendWeaponAnim( int iActivity );
virtual bool CanHolster( void ) const;
virtual bool CanHolster( void );
virtual bool Holster( CBaseCombatWeapon *pSwitchingTo );
virtual bool Lower( void );
virtual void HandleFireOnEmpty( void );

View File

@ -142,7 +142,7 @@ bool CTFSniperRifle::Reload( void )
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
bool CTFSniperRifle::CanHolster( void ) const
bool CTFSniperRifle::CanHolster( void )
{
CTFPlayer *pPlayer = GetTFPlayerOwner();
if ( pPlayer )

View File

@ -89,7 +89,7 @@ public:
void ResetTimers( void );
virtual bool Reload( void );
virtual bool CanHolster( void ) const;
virtual bool CanHolster( void );
virtual bool Holster( CBaseCombatWeapon *pSwitchingTo );
void HandleZooms( void );