Don't sigcheck game traffic if you're not the server, you can't do anything with it

This commit is contained in:
AJ Martinez 2023-03-19 21:28:10 -07:00 committed by James R
parent ca767a554b
commit a1b0625f66

View file

@ -4689,6 +4689,8 @@ static void HandlePacketFromPlayer(SINT8 node)
I_Error("bad table nodetoplayer: node %d player %d", doomcom->remotenode, netconsole);
#endif
if (server)
{
uint8_t allzero[32];
memset(allzero, 0, sizeof(allzero));
@ -4727,6 +4729,7 @@ static void HandlePacketFromPlayer(SINT8 node)
}
}
}
switch (netbuffer->packettype)