mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-22 03:21:11 +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];
|
||||
*ip = LittleLong(value);
|
||||
msg->cursize += 4;
|
||||
msg->bit += 8;
|
||||
msg->bit += 32;
|
||||
} else {
|
||||
Com_Error(ERR_DROP, "can't read %d bits\n", bits);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue