mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-23 20:11:18 +00:00
whitespace fixes
This commit is contained in:
parent
eff87e9524
commit
10aca2387f
1 changed files with 26 additions and 26 deletions
|
@ -36,26 +36,26 @@ SV_Netchan_Encode
|
||||||
static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
|
static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
|
||||||
long reliableAcknowledge, i, index;
|
long reliableAcknowledge, i, index;
|
||||||
byte key, *string;
|
byte key, *string;
|
||||||
int srdc, sbit;
|
int srdc, sbit;
|
||||||
qboolean soob;
|
qboolean soob;
|
||||||
|
|
||||||
if ( msg->cursize < SV_ENCODE_START ) {
|
if ( msg->cursize < SV_ENCODE_START ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
srdc = msg->readcount;
|
srdc = msg->readcount;
|
||||||
sbit = msg->bit;
|
sbit = msg->bit;
|
||||||
soob = msg->oob;
|
soob = msg->oob;
|
||||||
|
|
||||||
msg->bit = 0;
|
msg->bit = 0;
|
||||||
msg->readcount = 0;
|
msg->readcount = 0;
|
||||||
msg->oob = qfalse;
|
msg->oob = qfalse;
|
||||||
|
|
||||||
reliableAcknowledge = MSG_ReadLong(msg);
|
reliableAcknowledge = MSG_ReadLong(msg);
|
||||||
|
|
||||||
msg->oob = soob;
|
msg->oob = soob;
|
||||||
msg->bit = sbit;
|
msg->bit = sbit;
|
||||||
msg->readcount = srdc;
|
msg->readcount = srdc;
|
||||||
|
|
||||||
string = (byte *)client->lastClientCommandString;
|
string = (byte *)client->lastClientCommandString;
|
||||||
index = 0;
|
index = 0;
|
||||||
|
@ -94,19 +94,19 @@ static void SV_Netchan_Decode( client_t *client, msg_t *msg ) {
|
||||||
qboolean soob;
|
qboolean soob;
|
||||||
byte key, *string;
|
byte key, *string;
|
||||||
|
|
||||||
srdc = msg->readcount;
|
srdc = msg->readcount;
|
||||||
sbit = msg->bit;
|
sbit = msg->bit;
|
||||||
soob = msg->oob;
|
soob = msg->oob;
|
||||||
|
|
||||||
msg->oob = qfalse;
|
msg->oob = qfalse;
|
||||||
|
|
||||||
serverId = MSG_ReadLong(msg);
|
serverId = MSG_ReadLong(msg);
|
||||||
messageAcknowledge = MSG_ReadLong(msg);
|
messageAcknowledge = MSG_ReadLong(msg);
|
||||||
reliableAcknowledge = MSG_ReadLong(msg);
|
reliableAcknowledge = MSG_ReadLong(msg);
|
||||||
|
|
||||||
msg->oob = soob;
|
msg->oob = soob;
|
||||||
msg->bit = sbit;
|
msg->bit = sbit;
|
||||||
msg->readcount = srdc;
|
msg->readcount = srdc;
|
||||||
|
|
||||||
string = (byte *)client->reliableCommands[ reliableAcknowledge & (MAX_RELIABLE_COMMANDS-1) ];
|
string = (byte *)client->reliableCommands[ reliableAcknowledge & (MAX_RELIABLE_COMMANDS-1) ];
|
||||||
index = 0;
|
index = 0;
|
||||||
|
|
Loading…
Reference in a new issue