- fixed bad variable name for lump filter

This commit is contained in:
Christoph Oelckers 2019-11-04 00:08:06 +01:00 committed by drfrag
parent fb14f39d88
commit a487829932

View file

@ -407,9 +407,9 @@ void FResourceFile::PostProcessArchive(void *lumps, size_t lumpsize)
long len;
int lastpos = -1;
FString file;
if (LumpFilter.IndexOf('.') < 0)
if (LumpFilterIWAD.IndexOf('.') < 0)
{
max -= FilterLumps(LumpFilter, lumps, lumpsize, max);
max -= FilterLumps(LumpFilterIWAD, lumps, lumpsize, max);
}
else while ((len = LumpFilterIWAD.IndexOf('.', lastpos+1)) > 0)
{