Skip to content

Commit

Permalink
Server: Gauss: Fix sound not stopping outside PAS
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Feb 27, 2022
1 parent 2b280e3 commit 79a30e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/gauss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 79a30e1

Please sign in to comment.