Correct an oversight

This commit is contained in:
wolfy852 2019-02-19 22:20:18 -06:00
parent 4970df47e1
commit f34ed24132
1 changed files with 2 additions and 1 deletions

View File

@ -860,7 +860,8 @@ INT32 W_InitMultipleFiles(char **filenames)
INT32 rc = 1;
// open all the files, load headers, and count lumps
numwadfiles = 0;
if (!numwadfiles)
numwadfiles = 0;
// will be realloced as lumps are added
for (; *filenames; filenames++)