mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
We don't need payloadsize, we don't trust it anyway
This commit is contained in:
parent
3747ba6cbd
commit
b758001661
2 changed files with 0 additions and 2 deletions
|
|
@ -372,7 +372,6 @@ struct doomdata_t
|
|||
|
||||
UINT8 packettype;
|
||||
uint8_t signature[MAXSPLITSCREENPLAYERS][64];
|
||||
UINT16 payloadsize;
|
||||
UINT8 reserved; // Padding
|
||||
union
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue