mirror of https://github.com/FWGS/hlsdk-xash3d
Turn on incidental sounds.
This commit is contained in:
parent
018b26bbea
commit
98f4ed02bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue