From 736d34c9893384176cc01201cc9c35cfa374ba25 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 15 Nov 2005 23:49:14 +0000 Subject: [PATCH] * Small "bug" fix to MSG_WriteBits --- code/qcommon/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/msg.c b/code/qcommon/msg.c index 4e302fcd..d16fd58d 100644 --- a/code/qcommon/msg.c +++ b/code/qcommon/msg.c @@ -153,7 +153,7 @@ void MSG_WriteBits( msg_t *msg, int value, int bits ) { unsigned int *ip = (unsigned int *)&msg->data[msg->cursize]; *ip = LittleLong(value); msg->cursize += 4; - msg->bit += 8; + msg->bit += 32; } else { Com_Error(ERR_DROP, "can't read %d bits\n", bits); }