mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
only try to find a common folder in Zips if there's some data to check against.
Without this the check for required file names will always fail so running the entire thing is pointless.
This commit is contained in:
parent
f8d839d6eb
commit
869d7a6dcb
1 changed files with 1 additions and 1 deletions
|
@ -383,8 +383,8 @@ void FResourceFile::PostProcessArchive(LumpFilterInfo *filter)
|
|||
|
||||
// Entries in archives are sorted alphabetically.
|
||||
qsort(Entries, NumLumps, sizeof(Entries[0]), entrycmp);
|
||||
FindCommonFolder(filter);
|
||||
if (!filter) return;
|
||||
FindCommonFolder(filter);
|
||||
|
||||
// Filter out lumps using the same names as the Autoload.* sections
|
||||
// in the ini file. We reduce the maximum lump concidered after
|
||||
|
|
Loading…
Reference in a new issue