diff --git a/game/shared/tf2base/tf_weapon_minigun.cpp b/game/shared/tf2base/tf_weapon_minigun.cpp index d08747d0..c6df6e31 100644 --- a/game/shared/tf2base/tf_weapon_minigun.cpp +++ b/game/shared/tf2base/tf_weapon_minigun.cpp @@ -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; @@ -837,4 +837,4 @@ void CTFMinigun::WeaponSoundUpdate() } -#endif \ No newline at end of file +#endif diff --git a/game/shared/tf2base/tf_weapon_minigun.h b/game/shared/tf2base/tf_weapon_minigun.h index fe23ed5b..7811f89c 100644 --- a/game/shared/tf2base/tf_weapon_minigun.h +++ b/game/shared/tf2base/tf_weapon_minigun.h @@ -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 ); diff --git a/game/shared/tf2base/tf_weapon_sniperrifle.cpp b/game/shared/tf2base/tf_weapon_sniperrifle.cpp index 05e33b77..3c6c2960 100644 --- a/game/shared/tf2base/tf_weapon_sniperrifle.cpp +++ b/game/shared/tf2base/tf_weapon_sniperrifle.cpp @@ -142,7 +142,7 @@ bool CTFSniperRifle::Reload( void ) //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- -bool CTFSniperRifle::CanHolster( void ) const +bool CTFSniperRifle::CanHolster( void ) { CTFPlayer *pPlayer = GetTFPlayerOwner(); if ( pPlayer ) diff --git a/game/shared/tf2base/tf_weapon_sniperrifle.h b/game/shared/tf2base/tf_weapon_sniperrifle.h index c1786b3d..fd9cac91 100644 --- a/game/shared/tf2base/tf_weapon_sniperrifle.h +++ b/game/shared/tf2base/tf_weapon_sniperrifle.h @@ -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 );