Fix Detonator making world-detonation sound when attempting to fire underwater
This commit is contained in:
parent
7965665490
commit
26e394db1e
|
|
@ -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 );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue