mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Merge 9939d01eb7
into ceb6d4d783
This commit is contained in:
commit
60f484b0fa
2 changed files with 7 additions and 0 deletions
|
@ -769,6 +769,12 @@ void CPropCombineBall::SetBallAsLaunched( void )
|
|||
WhizSoundThink();
|
||||
}
|
||||
|
||||
bool CPropCombineBall::OnAttemptPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t reason )
|
||||
{
|
||||
return ( !m_bHeld || pPhysGunUser == GetOwnerEntity() ?
|
||||
CDefaultPlayerPickupVPhysics::OnAttemptPhysGunPickup( pPhysGunUser, reason ) : false );
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Lighten the mass so it's zippy toget to the gun
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
@ -117,6 +117,7 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
bool OnAttemptPhysGunPickup( CBasePlayer *, PhysGunPickup_t ) OVERRIDE;
|
||||
void SetPlayerLaunched( CBasePlayer *pOwner );
|
||||
|
||||
float GetBallHoldDissolveTime();
|
||||
|
|
Loading…
Reference in a new issue