We don't need payloadsize, we don't trust it anyway

This commit is contained in:
AJ Martinez 2023-03-19 05:42:40 -07:00 committed by James R
parent 3747ba6cbd
commit b758001661
2 changed files with 0 additions and 2 deletions

View file

@ -372,7 +372,6 @@ struct doomdata_t
UINT8 packettype;
uint8_t signature[MAXSPLITSCREENPLAYERS][64];
UINT16 payloadsize;
UINT8 reserved; // Padding
union
{

View file

@ -1028,7 +1028,6 @@ boolean HSendPacket(INT32 node, boolean reliable, UINT8 acknum, size_t packetlen
if (IsPacketSigned(netbuffer->packettype))
{
int i;
netbuffer->payloadsize = packetlength;
for (i = 0; i < MAXSPLITSCREENPLAYERS; i++)
{