Skip to content
Snippets Groups Projects
Commit 20d02d35 authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Merge branch 'fix-too-large-files-sent' into 'next'

Fix server never sending TOOLARGE to clients

Closes #1395

See merge request STJr/SRB2!2625
parents 0e992ec5 571f77e3
Branches
No related tags found
No related merge requests found
Pipeline #7262 canceled
...@@ -208,8 +208,8 @@ UINT8 *PutFileNeeded(UINT16 firstfile) ...@@ -208,8 +208,8 @@ UINT8 *PutFileNeeded(UINT16 firstfile)
filestatus += (WILLSEND_NO << 4); // Won't send filestatus += (WILLSEND_NO << 4); // Won't send
else if (wadfiles[i]->filesize <= (UINT32)cv_maxsend.value * 1024) else if (wadfiles[i]->filesize <= (UINT32)cv_maxsend.value * 1024)
filestatus += (WILLSEND_YES << 4); // Will send if requested filestatus += (WILLSEND_YES << 4); // Will send if requested
// else else
// filestatus += (0 << 4); -- Won't send, too big filestatus += (WILLSEND_TOOLARGE << 4); // Won't send, too big
} }
WRITEUINT8(p, filestatus); WRITEUINT8(p, filestatus);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment