From 6f6bb076873049f1571950b7ce2823175b21cf68 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 22 Apr 2019 19:32:02 -0700 Subject: [PATCH] Don't send the main WAD files in fileneeded This frees 190 bytes of the fileneeded buffer. --- src/d_netfil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_netfil.c b/src/d_netfil.c index 99a05840..fa99d8f7 100644 --- a/src/d_netfil.c +++ b/src/d_netfil.c @@ -114,7 +114,7 @@ UINT8 *PutFileNeeded(void) char wadfilename[MAX_WADPATH] = ""; UINT8 filestatus; - for (i = 0; i < numwadfiles; i++) + for (i = mainwads+1; i < numwadfiles; i++) { // If it has only music/sound lumps, don't put it in the list if (!wadfiles[i]->important)