git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9631
d7cf8633-e32d-0410-b094-
e92efae38249
void Host_PingPLReport_f(void)
{
- char **errbyte;
+ char *errbyte;
int i;
int l = Cmd_Argc();
if (l > cl.maxclients)
if(host_client->movement_highestsequence_seen)
{
// mark moves in between as lost
- if(move->sequence - host_client->movement_highestsequence_seen < NETGRAPH_PACKETS)
- for(i = host_client->movement_highestsequence_seen; i < move->sequence; ++i)
+ if(move->sequence - host_client->movement_highestsequence_seen - 1 < NETGRAPH_PACKETS)
+ for(i = host_client->movement_highestsequence_seen + 1; i < move->sequence; ++i)
host_client->movement_count[i % NETGRAPH_PACKETS] = -1;
else
memset(host_client->movement_count, -1, sizeof(host_client->movement_count));