aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-08 09:50:52 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-05-08 09:50:52 +0000
commit176da364882fce748cfae0bd21fc23ded2a8ff0c (patch)
tree9f79d5ed7dd0d0390b66125e6c3f88eb609395c9 /code/server
parent3e659cd38d3ff603effdad0e497bea7ca85e9045 (diff)
downloadioquake3-aero-176da364882fce748cfae0bd21fc23ded2a8ff0c.tar.gz
ioquake3-aero-176da364882fce748cfae0bd21fc23ded2a8ff0c.zip
whitespace fixes
git-svn-id: svn://svn.icculus.org/quake3/trunk@1552 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_net_chan.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/code/server/sv_net_chan.c b/code/server/sv_net_chan.c
index 25f5dec..9cc3fae 100644
--- a/code/server/sv_net_chan.c
+++ b/code/server/sv_net_chan.c
@@ -36,27 +36,27 @@ SV_Netchan_Encode
static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
long reliableAcknowledge, i, index;
byte key, *string;
- int srdc, sbit;
- qboolean soob;
-
+ int srdc, sbit;
+ qboolean soob;
+
if ( msg->cursize < SV_ENCODE_START ) {
return;
}
- srdc = msg->readcount;
- sbit = msg->bit;
- soob = msg->oob;
-
- msg->bit = 0;
- msg->readcount = 0;
- msg->oob = qfalse;
-
+ srdc = msg->readcount;
+ sbit = msg->bit;
+ soob = msg->oob;
+
+ msg->bit = 0;
+ msg->readcount = 0;
+ msg->oob = qfalse;
+
reliableAcknowledge = MSG_ReadLong(msg);
- msg->oob = soob;
- msg->bit = sbit;
- msg->readcount = srdc;
-
+ msg->oob = soob;
+ msg->bit = sbit;
+ msg->readcount = srdc;
+
string = (byte *)client->lastClientCommandString;
index = 0;
// xor the client challenge with the netchan sequence number
@@ -94,20 +94,20 @@ static void SV_Netchan_Decode( client_t *client, msg_t *msg ) {
qboolean soob;
byte key, *string;
- srdc = msg->readcount;
- sbit = msg->bit;
- soob = msg->oob;
-
- msg->oob = qfalse;
-
- serverId = MSG_ReadLong(msg);
+ srdc = msg->readcount;
+ sbit = msg->bit;
+ soob = msg->oob;
+
+ msg->oob = qfalse;
+
+ serverId = MSG_ReadLong(msg);
messageAcknowledge = MSG_ReadLong(msg);
reliableAcknowledge = MSG_ReadLong(msg);
- msg->oob = soob;
- msg->bit = sbit;
- msg->readcount = srdc;
-
+ msg->oob = soob;
+ msg->bit = sbit;
+ msg->readcount = srdc;
+
string = (byte *)client->reliableCommands[ reliableAcknowledge & (MAX_RELIABLE_COMMANDS-1) ];
index = 0;
//