From 2ae3f6d326d372cbd60bbecb83efa392abd87123 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 4 Nov 2019 00:08:06 +0100 Subject: [PATCH] - fixed bad variable name for lump filter --- src/gamedata/resourcefiles/resourcefile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gamedata/resourcefiles/resourcefile.cpp b/src/gamedata/resourcefiles/resourcefile.cpp index 6c0131b02..db56d4e55 100644 --- a/src/gamedata/resourcefiles/resourcefile.cpp +++ b/src/gamedata/resourcefiles/resourcefile.cpp @@ -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) {