r362 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Nov 15 18:49:14 EST 2005


Author: tma
Date: 2005-11-15 18:49:14 -0500 (Tue, 15 Nov 2005)
New Revision: 362

Modified:
   trunk/code/qcommon/msg.c
Log:
* Small "bug" fix to MSG_WriteBits


Modified: trunk/code/qcommon/msg.c
===================================================================
--- trunk/code/qcommon/msg.c	2005-11-15 23:30:35 UTC (rev 361)
+++ trunk/code/qcommon/msg.c	2005-11-15 23:49:14 UTC (rev 362)
@@ -153,7 +153,7 @@
 			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);
 		}




More information about the quake3-commits mailing list