Fix Detonator making world-detonation sound when attempting to fire underwater

This commit is contained in:
Autumn Ashton 2025-02-18 18:51:37 +00:00 committed by FlaminSarge
parent 0759e2e8e1
commit 5078bd1e27

View file

@ -413,7 +413,7 @@ void CTFProjectile_Flare::Explode_Air( trace_t *pTrace, int bitsDamageType, bool
if ( bSelfOnly )
{
bitsDamageType |= DMG_BLAST;
nSound = SPECIAL2;
nSound = SPECIAL3;
}
CTakeDamageInfo info( this, pAttacker, m_hLauncher, vec3_origin, vecOrigin, GetDamage(), bitsDamageType | DMG_HALF_FALLOFF, TF_DMG_CUSTOM_FLARE_EXPLOSION );