mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-08-03 20:24:36 +02:00
Fix Detonator making world-detonation sound when attempting to fire underwater
This commit is contained in:
committed by
EricS-Valve
parent
7965665490
commit
26e394db1e
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user