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
No related branches found
No related tags found
1 merge request!2625Fix server never sending TOOLARGE to clients
......@@ -208,8 +208,8 @@ UINT8 *PutFileNeeded(UINT16 firstfile)
filestatus += (WILLSEND_NO << 4); // Won't send
else if (wadfiles[i]->filesize <= (UINT32)cv_maxsend.value * 1024)
filestatus += (WILLSEND_YES << 4); // Will send if requested
// else
// filestatus += (0 << 4); -- Won't send, too big
else
filestatus += (WILLSEND_TOOLARGE << 4); // Won't send, too big
}
WRITEUINT8(p, filestatus);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment