From 98f4ed02bbbe1ae71cbb1fef0b2765da7a907966 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Sat, 26 Jun 2021 20:37:43 +0500 Subject: [PATCH] Turn on incidental sounds. --- cl_dll/ev_hldm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl_dll/ev_hldm.cpp b/cl_dll/ev_hldm.cpp index ecbd4be4..d407718e 100644 --- a/cl_dll/ev_hldm.cpp +++ b/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_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