Browse Source

Turn on incidental sounds.

zombie-x
Andrey Akhmichin 3 years ago
parent
commit
98f4ed02bb
  1. 2
      cl_dll/ev_hldm.cpp

2
cl_dll/ev_hldm.cpp

@ -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_SetTraceHull( 2 );
gEngfuncs.pEventAPI->EV_PlayerTrace( vecSrc, vecEnd, PM_STUDIO_BOX, -1, &tr ); 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 ); tracer = EV_HLDM_CheckTracer( idx, vecSrc, tr.endpos, forward, right, iBulletType, iTracerFreq, tracerCount );
// do damage, paint decals // do damage, paint decals

Loading…
Cancel
Save