mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- fixed: lump filters without any dot in the name did not work.
This commit is contained in:
parent
e55a935220
commit
077d4e08bb
1 changed files with 5 additions and 2 deletions
|
@ -413,8 +413,11 @@ void FResourceFile::PostProcessArchive(void *lumps, size_t lumpsize)
|
|||
long len;
|
||||
int lastpos = -1;
|
||||
FString file;
|
||||
|
||||
while ((len = LumpFilterIWAD.IndexOf('.', lastpos+1)) > 0)
|
||||
if (LumpFilter.IndexOf('.') < 0)
|
||||
{
|
||||
max -= FilterLumps(LumpFilter, lumps, lumpsize, max);
|
||||
}
|
||||
else while ((len = LumpFilterIWAD.IndexOf('.', lastpos+1)) > 0)
|
||||
{
|
||||
max -= FilterLumps(LumpFilterIWAD.Left(len), lumps, lumpsize, max);
|
||||
lastpos = len;
|
||||
|
|
Loading…
Reference in a new issue