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
1 changed files with 3 additions and 2 deletions
|
@ -1714,9 +1714,10 @@ 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 );
|
||||
|
||||
if ( !size )
|
||||
|
|
Loading…
Add table
Reference in a new issue