From ccc44f3c5f642599bda2e3405be28e4856275f27 Mon Sep 17 00:00:00 2001 From: Sergey Degtyar Date: Mon, 8 Sep 2025 23:02:20 +0300 Subject: [PATCH] engine: voice: fix voice loopback bit --- engine/client/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 3f427b51..cfef780e 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -810,7 +810,7 @@ static void CL_WritePacket( void ) MSG_WriteByte( &buf, 0 ); if( proto == PROTO_GOLDSRC && voice_loopback.value ) - SetBits( packet_loss, 7 ); // set 7-th bit to tell server that we want voice loopback + SetBits( packet_loss, BIT( 7 ) ); // set 7-th bit to tell server that we want voice loopback MSG_WriteByte( &buf, packet_loss ); MSG_WriteByte( &buf, numbackup );