mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 19:12:51 +00:00
Fix Detonator making world-detonation sound when attempting to fire underwater
This commit is contained in:
parent
0759e2e8e1
commit
5078bd1e27
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue