- fixed file system's zip loader to not strip away a 'filter/' prefix.

This commit is contained in:
Christoph Oelckers 2021-08-11 10:01:11 +02:00
parent c24f644a61
commit 436ec28e94

View file

@ -234,6 +234,8 @@ bool FZipFile::Open(bool quiet, LumpFilterInfo* filter)
}
name.ToLower();
if (name.IndexOf("filter/") == 0)
continue; // 'filter' is a reserved name of the file system.
if (name.IndexOf("__macosx") == 0)
continue; // skip Apple garbage. At this stage only the root folder matters.
if (!foundprefix)