mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
fix logging of svc_deltapacketentities
This commit is contained in:
parent
9ed9832789
commit
5c82f48f41
1 changed files with 9 additions and 6 deletions
|
@ -280,8 +280,6 @@ Log_Delta (int bits)
|
||||||
entity_state_t to;
|
entity_state_t to;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
Net_LogPrintf ("\n\t");
|
|
||||||
|
|
||||||
// set everything to the state we are delta'ing from
|
// set everything to the state we are delta'ing from
|
||||||
|
|
||||||
to.number = bits & 511;
|
to.number = bits & 511;
|
||||||
|
@ -743,20 +741,25 @@ Parse_Server_Packet (int has_sequence)
|
||||||
Net_LogPrintf ("\n\t*End of sound list*");
|
Net_LogPrintf ("\n\t*End of sound list*");
|
||||||
break;
|
break;
|
||||||
case svc_packetentities:
|
case svc_packetentities:
|
||||||
|
packetentities:
|
||||||
while (1) {
|
while (1) {
|
||||||
mask1 = (unsigned short) MSG_ReadShort (&packet);
|
mask1 = (unsigned short) MSG_ReadShort (&packet);
|
||||||
if (packet.badread) {
|
if (packet.badread) {
|
||||||
Net_LogPrintf ("Badread\n");
|
Net_LogPrintf ("Badread\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!mask1) break;
|
if (!mask1)
|
||||||
if (mask1 & U_REMOVE) Net_LogPrintf ("UREMOVE ");
|
break;
|
||||||
|
Net_LogPrintf ("%d", mask1 & 511);
|
||||||
|
if (mask1 & U_REMOVE)
|
||||||
|
Net_LogPrintf (" UREMOVE");
|
||||||
Log_Delta (mask1);
|
Log_Delta (mask1);
|
||||||
|
Net_LogPrintf ("\n");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case svc_deltapacketentities:
|
case svc_deltapacketentities:
|
||||||
Net_LogPrintf ("idx: %d", MSG_ReadByte (&packet));
|
Net_LogPrintf ("idx: %d\n", MSG_ReadByte (&packet));
|
||||||
return;
|
goto packetentities;
|
||||||
break;
|
break;
|
||||||
case svc_maxspeed:
|
case svc_maxspeed:
|
||||||
Net_LogPrintf ("%f", MSG_ReadFloat (&packet));
|
Net_LogPrintf ("%f", MSG_ReadFloat (&packet));
|
||||||
|
|
Loading…
Reference in a new issue