From 79a30e14dede4915a09e21047097e456f2f24b62 Mon Sep 17 00:00:00 2001 From: tmp64 Date: Sun, 27 Feb 2022 15:12:53 +0700 Subject: [PATCH] Server: Gauss: Fix sound not stopping outside PAS ValveSoftware/halflife#3233 --- src/game/server/gauss.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/gauss.cpp b/src/game/server/gauss.cpp index e4b228e4..91502eb1 100644 --- a/src/game/server/gauss.cpp +++ b/src/game/server/gauss.cpp @@ -394,7 +394,7 @@ void CGauss::Fire(Vector vecOrigSrc, Vector vecDir, float flDamage) // It's delayed by a fraction of second to make sure it is delayed by 1 frame on the client // It's sent reliably anyway, which could lead to other delays - PLAYBACK_EVENT_FULL(FEV_NOTHOST | FEV_RELIABLE, m_pPlayer->edict(), m_usGaussFire, 0.01, (float *)&m_pPlayer->pev->origin, (float *)&m_pPlayer->pev->angles, 0.0, 0.0, 0, 0, 0, 1); + PLAYBACK_EVENT_FULL(FEV_NOTHOST | FEV_RELIABLE | FEV_GLOBAL, m_pPlayer->edict(), m_usGaussFire, 0.01, (float *)&m_pPlayer->pev->origin, (float *)&m_pPlayer->pev->angles, 0.0, 0.0, 0, 0, 0, 1); /*ALERT( at_console, "%f %f %f\n%f %f %f\n", vecSrc.x, vecSrc.y, vecSrc.z,