X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=sv_user.c;h=372b09bd21332b9680f80bda34eb21a9f6735fa3;hb=309feb665ffe9f619730b532e9fa4ec5b4e0ae39;hp=a0be10803d6a8cb505328caa6519b65e34c5030c;hpb=ae1534f3ea57ed5165d1103ad4bba9bc2fa9272f;p=xonotic%2Fdarkplaces.git diff --git a/sv_user.c b/sv_user.c index a0be1080..372b09bd 100644 --- a/sv_user.c +++ b/sv_user.c @@ -623,7 +623,7 @@ void SV_ReadClientMove (usercmd_t *move) val->_float = host_client->ping * 1000.0; // read current angles - // DPPROTOCOL_VERSION4 + // PROTOCOL_DARKPLACES4 for (i = 0;i < 3;i++) angle[i] = MSG_ReadPreciseAngle(); @@ -743,10 +743,10 @@ void SV_ReadClientMessage(void) break; case clc_ackentities: - //if (dpprotocol == DPPROTOCOL_VERSION1 || dpprotocol == DPPROTOCOL_VERSION2 || dpprotocol == DPPROTOCOL_VERSION3) - // EntityFrame_AckFrame(&host_client->entitydatabase, MSG_ReadLong()); - //else - EntityFrame4_AckFrame(host_client->entitydatabase4, MSG_ReadLong()); + host_client->entitydatabase4->ackframenum = MSG_ReadLong(); + if (developer_networkentities.integer >= 1) + Con_Printf("recv clc_ackentities %i\n", host_client->entitydatabase4->ackframenum); + EntityFrame4_AckFrame(host_client->entitydatabase4, host_client->entitydatabase4->ackframenum); break; } }