Skip to content

Commit

Permalink
- fixed bad variable name for lump filter
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Nov 3, 2019
1 parent be8009d commit 2ae3f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gamedata/resourcefiles/resourcefile.cpp
Expand Up @@ -413,9 +413,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)
{
Expand Down

0 comments on commit 2ae3f6d

Please sign in to comment.