From 22ea7e12de041f93f2556b678f8b034fb14b2992 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 13 Dec 2012 05:25:50 +0000 Subject: Fix writting voip data in demos (broke in r2102). --- src/client/cl_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/cl_input.c b/src/client/cl_input.c index e0bc26cc..2ccb50f3 100644 --- a/src/client/cl_input.c +++ b/src/client/cl_input.c @@ -816,6 +816,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); -- cgit