summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2012-12-13 05:25:50 +0000
committerTim Angus <tim@ngus.net>2013-01-12 21:24:55 +0000
commit22ea7e12de041f93f2556b678f8b034fb14b2992 (patch)
treecc1ed8dce0172346d969547ec4b9c83dab3aafe4 /src
parent055c011034b61634c467017530e924dd109cc716 (diff)
Fix writting voip data in demos (broke in r2102).
Diffstat (limited to 'src')
-rw-r--r--src/client/cl_input.c1
1 files changed, 1 insertions, 0 deletions
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);