* Small "bug" fix to MSG_WriteBits

This commit is contained in:
Tim Angus 2005-11-15 23:49:14 +00:00
parent b5c7d9dcd7
commit 736d34c989

View file

@ -153,7 +153,7 @@ void MSG_WriteBits( msg_t *msg, int value, int bits ) {
unsigned int *ip = (unsigned int *)&msg->data[msg->cursize]; unsigned int *ip = (unsigned int *)&msg->data[msg->cursize];
*ip = LittleLong(value); *ip = LittleLong(value);
msg->cursize += 4; msg->cursize += 4;
msg->bit += 8; msg->bit += 32;
} else { } else {
Com_Error(ERR_DROP, "can't read %d bits\n", bits); Com_Error(ERR_DROP, "can't read %d bits\n", bits);
} }