mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Merge 692232d169
into ceb6d4d783
This commit is contained in:
commit
852a923573
1 changed files with 6 additions and 0 deletions
|
@ -2742,6 +2742,12 @@ void CPhysicsProp::OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t r
|
|||
}
|
||||
}
|
||||
|
||||
if ( pPhysicsObject && ( pPhysicsObject->GetGameFlags() & FVPHYSICS_WAS_THROWN ) )
|
||||
{
|
||||
PhysClearGameFlags( pPhysicsObject, FVPHYSICS_WAS_THROWN );
|
||||
}
|
||||
m_bFirstCollisionAfterLaunch = false;
|
||||
|
||||
m_OnPhysGunPickup.FireOutput( pPhysGunUser, this );
|
||||
|
||||
if( reason == PICKED_UP_BY_CANNON )
|
||||
|
|
Loading…
Reference in a new issue