mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-10 12:09:03 +00:00
Fix holstering with a live rocket round
► Don't let players change weapons if a rocket of theirs is in the air.
This commit is contained in:
parent
a62efecf62
commit
4c9d2dfe7f
2 changed files with 2 additions and 2 deletions
|
@ -1635,7 +1635,7 @@ bool CWeaponRPG::Deploy( void )
|
|||
return BaseClass::Deploy();
|
||||
}
|
||||
|
||||
bool CWeaponRPG::CanHolster( void )
|
||||
bool CWeaponRPG::CanHolster( void ) const
|
||||
{
|
||||
//Can't have an active missile out
|
||||
if ( m_hMissile != NULL )
|
||||
|
|
|
@ -190,7 +190,7 @@ public:
|
|||
bool WeaponShouldBeLowered( void );
|
||||
bool Lower( void );
|
||||
|
||||
bool CanHolster( void );
|
||||
bool CanHolster( void ) const;
|
||||
|
||||
virtual void Drop( const Vector &vecVelocity );
|
||||
|
||||
|
|
Loading…
Reference in a new issue