This commit is contained in:
speedvoltage 2025-03-30 16:58:06 -07:00 committed by GitHub
commit 852a923573
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 )