Turn on incidental sounds.

This commit is contained in:
Andrey Akhmichin 2021-06-26 20:37:43 +05:00
parent 018b26bbea
commit 98f4ed02bb
1 changed files with 2 additions and 0 deletions

View File

@ -635,6 +635,8 @@ void EV_HLDM_FireBullets( int idx, float *forward, float *right, float *up, int
gEngfuncs.pEventAPI->EV_SetTraceHull( 2 );
gEngfuncs.pEventAPI->EV_PlayerTrace( vecSrc, vecEnd, PM_STUDIO_BOX, -1, &tr );
EV_HLDM_BulletFlyBySound(idx, vecSrc, vecEnd);
tracer = EV_HLDM_CheckTracer( idx, vecSrc, tr.endpos, forward, right, iBulletType, iTracerFreq, tracerCount );
// do damage, paint decals