Detect runt client packets quicker.

This commit is contained in:
Dabb 2000-08-14 13:41:05 +00:00
parent 66e08b1e0f
commit 5385056a9e

View file

@ -1299,6 +1299,12 @@ void SV_ReadPackets (void)
continue;
}
if (net_message.cursize < 11)
{
Con_Printf ("%s: Runt packet\n",NET_AdrToString(net_from));
continue;
}
// read the qport out of the message so we can fix up
// stupid address translating routers
MSG_BeginReading ();