aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/qcommon/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/msg.c b/code/qcommon/msg.c
index 4e302fc..d16fd58 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);
}