diff --git a/src/game/shared/tf/tf_weapon_jar.cpp b/src/game/shared/tf/tf_weapon_jar.cpp index 31227daa07..d603642304 100644 --- a/src/game/shared/tf/tf_weapon_jar.cpp +++ b/src/game/shared/tf/tf_weapon_jar.cpp @@ -593,9 +593,9 @@ void CTFProjectile_Jar::VPhysicsCollision( int index, gamevcollisionevent_t *pEv OnHitWorld(); } - // Break if we hit the world. - bool bIsDynamicProp = ( NULL != dynamic_cast( pHitEntity ) ); - if ( ExplodesOnHit() && pHitEntity && ( pHitEntity->IsWorld() || bIsDynamicProp ) ) + // Break if we hit anything that isn't a player (the world, doors, etc). + // bool bIsDynamicProp = ( NULL != dynamic_cast( pHitEntity ) ); + if ( ExplodesOnHit() && pHitEntity && ( !pHitEntity->IsPlayer() ) ) { // Explode immediately next frame. (Can't explode in the collision callback.) m_vCollisionVelocity = pEvent->preVelocity[index];