mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 13:21:51 +08:00
engine: server: fix voice block inverted logic, instead of checking the player's we're sending listeners list, check current player
This commit is contained in:
@@ -3570,7 +3570,7 @@ static void SV_ParseVoiceData( sv_client_t *cl, sizebuf_t *msg )
|
||||
if( cur->state < cs_connected )
|
||||
continue;
|
||||
|
||||
if( !FBitSet( cur->listeners, BIT( client )))
|
||||
if( !FBitSet( cl->listeners, BIT( i )))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user