From 571f77e334b200e6606e2458a9a6f614adc308eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustaf=20Alh=C3=A4ll?= Date: Fri, 31 Jan 2025 18:23:36 +0100 Subject: [PATCH] Fix server never sending TOOLARGE to clients --- src/netcode/d_netfil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/netcode/d_netfil.c b/src/netcode/d_netfil.c index bfb67838f..252909907 100644 --- a/src/netcode/d_netfil.c +++ b/src/netcode/d_netfil.c @@ -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);