Don't send the main WAD files in fileneeded

This frees 190 bytes of the fileneeded buffer.
This commit is contained in:
James R 2019-04-22 19:32:02 -07:00
parent b128f44986
commit 6f6bb07687

View file

@ -114,7 +114,7 @@ UINT8 *PutFileNeeded(void)
char wadfilename[MAX_WADPATH] = ""; char wadfilename[MAX_WADPATH] = "";
UINT8 filestatus; 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 it has only music/sound lumps, don't put it in the list
if (!wadfiles[i]->important) if (!wadfiles[i]->important)