mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Small "bug" fix to MSG_WriteBits
This commit is contained in:
parent
b5c7d9dcd7
commit
736d34c989
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue