mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: client: voice: notify client.dll about localplayer twice, through special loopback index and normal index
This commit is contained in:
parent
e9ae6d08b5
commit
3c682507e7
@ -1714,10 +1714,11 @@ void CL_ParseVoiceData( sizebuf_t *msg )
|
||||
if ( idx <= 0 || idx > cl.maxclients )
|
||||
return;
|
||||
|
||||
// must notify through as both local player and normal client
|
||||
if( idx == cl.playernum + 1 )
|
||||
Voice_StatusAck( &voice.local, VOICE_LOOPBACK_INDEX );
|
||||
else
|
||||
Voice_StatusAck( &voice.players_status[idx], idx );
|
||||
|
||||
Voice_StatusAck( &voice.players_status[idx], idx );
|
||||
|
||||
if ( !size )
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user