DEVELOP: don't let clients download mainwads

This commit is contained in:
James R 2022-05-11 17:04:18 -07:00
parent e28295635c
commit b89bf775df

View file

@ -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