mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-04 01:41:56 +00:00
- fixed: The full dotted lump filter string was never used.
The code added all partial matches to the file system but not the full match. # Conflicts: # src/resourcefiles/resourcefile.cpp
This commit is contained in:
parent
8c877cb36a
commit
100897b406
1 changed files with 3 additions and 5 deletions
|
@ -407,15 +407,13 @@ void FResourceFile::PostProcessArchive(void *lumps, size_t lumpsize)
|
|||
long len;
|
||||
int lastpos = -1;
|
||||
FString file;
|
||||
if (LumpFilterIWAD.IndexOf('.') < 0)
|
||||
{
|
||||
max -= FilterLumps(LumpFilterIWAD, lumps, lumpsize, max);
|
||||
}
|
||||
else while ((len = LumpFilterIWAD.IndexOf('.', lastpos+1)) > 0)
|
||||
while ((len = LumpFilterIWAD.IndexOf('.', lastpos+1)) > 0)
|
||||
{
|
||||
max -= FilterLumps(LumpFilterIWAD.Left(len), lumps, lumpsize, max);
|
||||
lastpos = len;
|
||||
}
|
||||
max -= FilterLumps(LumpFilterIWAD, lumps, lumpsize, max);
|
||||
|
||||
JunkLeftoverFilters(lumps, lumpsize, max);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue