diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-15 23:49:14 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-15 23:49:14 +0000 |
commit | 8ed1228e0233fd309e944ae2dab9ee272eecf75f (patch) | |
tree | d0b0bd648a72d5ad8b4b8885e96ca5cba83fcd26 | |
parent | 667c3afede98ba70f198f14c527c0ef0f1c92999 (diff) | |
download | ioquake3-aero-8ed1228e0233fd309e944ae2dab9ee272eecf75f.tar.gz ioquake3-aero-8ed1228e0233fd309e944ae2dab9ee272eecf75f.zip |
* Small "bug" fix to MSG_WriteBits
git-svn-id: svn://svn.icculus.org/quake3/trunk@362 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/qcommon/msg.c | 2 |
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); } |