mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-04-06 08:35:05 +00:00
game: fix const CanHolster
This commit is contained in:
parent
ac3471eb39
commit
7589b5602d
@ -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;
|
||||
|
@ -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 );
|
||||
|
@ -142,7 +142,7 @@ bool CTFSniperRifle::Reload( void )
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
bool CTFSniperRifle::CanHolster( void ) const
|
||||
bool CTFSniperRifle::CanHolster( void )
|
||||
{
|
||||
CTFPlayer *pPlayer = GetTFPlayerOwner();
|
||||
if ( pPlayer )
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user