mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Host_NetError is not appropriate for an oversize packet as that packet's data
has not yet been read.
This commit is contained in:
parent
5bf5278c2b
commit
e1e56c417d
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@ CL_GetDemoMessage (void)
|
|||
// Con_Printf("read: %ld bytes\n", net_message->message->cursize);
|
||||
if (net_message->message->cursize > MAX_MSGLEN)
|
||||
// Sys_Error ("Demo message > MAX_MSGLEN");
|
||||
Host_NetError ("Demo message > MAX_MSGLEN");
|
||||
Host_Error ("Demo message > MAX_MSGLEN: %d/%d",
|
||||
net_message->message->cursize, MAX_MSGLEN);
|
||||
r = Qread (cls.demofile, net_message->message->data,
|
||||
net_message->message->cursize);
|
||||
if (r != net_message->message->cursize) {
|
||||
|
|
Loading…
Reference in a new issue