mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-08-31 00:02:21 +00:00
Fix Gauss sound not stopping when players are not in the PAS. https://github.com/ValveSoftware/halflife/issues/3233 (#254)
This commit is contained in:
parent
3dc739547c
commit
8d844a1764
@ -391,7 +391,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 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
|
// It's sent reliably anyway, which could lead to other delays
|
||||||
|
|
||||||
PLAYBACK_EVENT_FULL( FEV_NOTHOST | FEV_RELIABLE, m_pPlayer->edict(), m_usGaussFire, 0.01f, m_pPlayer->pev->origin, 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.01f, m_pPlayer->pev->origin, m_pPlayer->pev->angles, 0.0, 0.0, 0, 0, 0, 1 );
|
||||||
|
|
||||||
/*ALERT( at_console, "%f %f %f\n%f %f %f\n",
|
/*ALERT( at_console, "%f %f %f\n%f %f %f\n",
|
||||||
vecSrc.x, vecSrc.y, vecSrc.z,
|
vecSrc.x, vecSrc.y, vecSrc.z,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user