Skip to content
Snippets Groups Projects
Commit 571f77e3 authored by Hanicef's avatar Hanicef
Browse files

Fix server never sending TOOLARGE to clients

parent 8701ef41
Branches
No related tags found
No related merge requests found
...@@ -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