From b89bf775df3c599e5245cfb21f4fe33f05d9b2e8 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 11 May 2022 17:04:18 -0700 Subject: [PATCH] DEVELOP: don't let clients download mainwads --- src/d_netfil.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/d_netfil.c b/src/d_netfil.c index 3c269f63a..041c7c35f 100644 --- a/src/d_netfil.c +++ b/src/d_netfil.c @@ -194,6 +194,12 @@ UINT8 *PutFileNeeded(UINT16 firstfile) filestatus = 1; // Importance - not really used any more, holds 1 by default for backwards compat with MS + /* don't send mainwads!! */ +#ifdef DEVELOP + if (i <= mainwads) + filestatus += (2 << 4); +#endif + // Store in the upper four bits if (!cv_downloading.value) filestatus += (2 << 4); // Won't send