mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-17 21:42:49 +00:00
Don't sigcheck game traffic if you're not the server, you can't do anything with it
This commit is contained in:
parent
ca767a554b
commit
a1b0625f66
1 changed files with 33 additions and 30 deletions
|
|
@ -4689,6 +4689,8 @@ static void HandlePacketFromPlayer(SINT8 node)
|
||||||
I_Error("bad table nodetoplayer: node %d player %d", doomcom->remotenode, netconsole);
|
I_Error("bad table nodetoplayer: node %d player %d", doomcom->remotenode, netconsole);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (server)
|
||||||
|
{
|
||||||
uint8_t allzero[32];
|
uint8_t allzero[32];
|
||||||
memset(allzero, 0, sizeof(allzero));
|
memset(allzero, 0, sizeof(allzero));
|
||||||
|
|
||||||
|
|
@ -4727,6 +4729,7 @@ static void HandlePacketFromPlayer(SINT8 node)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
switch (netbuffer->packettype)
|
switch (netbuffer->packettype)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue