[quake3-commits] r1549 - trunk/code/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri May 8 05:48:40 EDT 2009
Author: ludwig
Date: 2009-05-08 05:48:40 -0400 (Fri, 08 May 2009)
New Revision: 1549
Modified:
trunk/code/server/sv_net_chan.c
Log:
msg->oob is actually qboolean (#4010)
Modified: trunk/code/server/sv_net_chan.c
===================================================================
--- trunk/code/server/sv_net_chan.c 2009-05-08 09:31:26 UTC (rev 1548)
+++ trunk/code/server/sv_net_chan.c 2009-05-08 09:48:40 UTC (rev 1549)
@@ -36,7 +36,8 @@
static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
long reliableAcknowledge, i, index;
byte key, *string;
- int srdc, sbit, soob;
+ int srdc, sbit;
+ qboolean soob;
if ( msg->cursize < SV_ENCODE_START ) {
return;
@@ -48,7 +49,7 @@
msg->bit = 0;
msg->readcount = 0;
- msg->oob = 0;
+ msg->oob = qfalse;
reliableAcknowledge = MSG_ReadLong(msg);
@@ -89,14 +90,15 @@
*/
static void SV_Netchan_Decode( client_t *client, msg_t *msg ) {
int serverId, messageAcknowledge, reliableAcknowledge;
- int i, index, srdc, sbit, soob;
+ int i, index, srdc, sbit;
+ qboolean soob;
byte key, *string;
srdc = msg->readcount;
sbit = msg->bit;
soob = msg->oob;
- msg->oob = 0;
+ msg->oob = qfalse;
serverId = MSG_ReadLong(msg);
messageAcknowledge = MSG_ReadLong(msg);
More information about the quake3-commits
mailing list