}
// if we have an unreliable message to send, do so
- //if (data->cursize)
+ if (data->cursize)
{
packetLen = NET_HEADERSIZE + data->cursize;
packetsSent++;
unreliableMessagesSent++;
- if (data->cursize)
- totallen += packetLen + 28;
+ totallen += packetLen + 28;
}
}
if (length < 8)
return 0;
- // TODO: add netgraph stuff rather than just packetloss counting...
-
if (protocol == PROTOCOL_QUAKEWORLD)
{
int sequence, sequence_ack;
cls.signon = 0; // need all the signon messages before playing
cls.protocol = initialprotocol;
// reset move sequence numbering on this new connection
- cls.movesequence = 0;
+ cls.movesequence = 1;
cls.servermovesequence = 0;
if (cls.protocol == PROTOCOL_QUAKEWORLD)
Cmd_ForwardStringToServer("new");