From 7786f95c066eb55411bcdca43cd14c4a1c776b2f Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 13 Dec 2012 05:25:50 +0000 Subject: [PATCH] Fix writting voip data in demos (broke in r2102). --- code/client/cl_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/code/client/cl_input.c b/code/client/cl_input.c index c007ec5e..d35e3c31 100644 --- a/code/client/cl_input.c +++ b/code/client/cl_input.c @@ -815,6 +815,7 @@ void CL_WritePacket( void ) { MSG_WriteLong (&fakemsg, clc.voipOutgoingSequence); MSG_WriteByte (&fakemsg, clc.voipOutgoingDataFrames); MSG_WriteShort (&fakemsg, clc.voipOutgoingDataSize ); + MSG_WriteBits (&fakemsg, clc.voipFlags, VOIP_FLAGCNT); MSG_WriteData (&fakemsg, clc.voipOutgoingData, voipSize); MSG_WriteByte (&fakemsg, svc_EOF); CL_WriteDemoMessage (&fakemsg, 0);