diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-05-08 09:48:40 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-05-08 09:48:40 +0000 |
commit | 0c74111e6f0d2f5ca5b0ca8d4912af71048c4d8d (patch) | |
tree | 382e8e7f20b2f6a88cafc8b9f51e872855621a93 /code | |
parent | 5e957c92128cb7f4b1259ed70b0109f440e66486 (diff) | |
download | ioquake3-aero-0c74111e6f0d2f5ca5b0ca8d4912af71048c4d8d.tar.gz ioquake3-aero-0c74111e6f0d2f5ca5b0ca8d4912af71048c4d8d.zip |
msg->oob is actually qboolean (#4010)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1549 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/server/sv_net_chan.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/code/server/sv_net_chan.c b/code/server/sv_net_chan.c index d4607d3..25f5dec 100644 --- a/code/server/sv_net_chan.c +++ b/code/server/sv_net_chan.c @@ -36,7 +36,8 @@ SV_Netchan_Encode 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 @@ static void SV_Netchan_Encode( client_t *client, msg_t *msg ) { msg->bit = 0; msg->readcount = 0; - msg->oob = 0; + msg->oob = qfalse; reliableAcknowledge = MSG_ReadLong(msg); @@ -89,14 +90,15 @@ SV_Netchan_Decode */ 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); |