Fix oil drums blowing up after yoyoing them

This commit is contained in:
speedvoltage 2025-03-09 18:19:38 +01:00
parent a62efecf62
commit 692232d169

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 )