{
if (cl.entitydatabase4)
{
- MSG_WriteByte(&buf, clc_ackentities);
+ i = cl.entitydatabase4->ackframenum;
if (cl_nodelta.integer)
- MSG_WriteLong(&buf, -1);
- else
- MSG_WriteLong(&buf, cl.entitydatabase4->ackframenum);
+ i = -1;
+ if (developer_networkentities.integer)
+ Con_Printf("send clc_ackentities %i\n", i);
+ MSG_WriteByte(&buf, clc_ackentities);
+ MSG_WriteLong(&buf, i);
}
}
break;
case clc_ackentities:
- EntityFrame4_AckFrame(host_client->entitydatabase4, host_client->entitydatabase4->ackframenum = MSG_ReadLong());
+ host_client->entitydatabase4->ackframenum = MSG_ReadLong();
+ if (developer_networkentities.integer)
+ Con_Printf("recv clc_ackentities %i\n", host_client->entitydatabase4->ackframenum);
+ EntityFrame4_AckFrame(host_client->entitydatabase4, host_client->entitydatabase4->ackframenum);
break;
}
}