mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 06:13:18 +00:00
Fix server never sending TOOLARGE to clients
This commit is contained in:
parent
8701ef41f6
commit
571f77e334
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue