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 EricS-Valve
parent 7965665490
commit 26e394db1e
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ void CTFProjectile_Flare::Explode_Air( trace_t *pTrace, int bitsDamageType, bool
if ( bSelfOnly ) if ( bSelfOnly )
{ {
bitsDamageType |= DMG_BLAST; 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 ); CTakeDamageInfo info( this, pAttacker, m_hLauncher, vec3_origin, vecOrigin, GetDamage(), bitsDamageType | DMG_HALF_FALLOFF, TF_DMG_CUSTOM_FLARE_EXPLOSION );