mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
skip "hidden" files in ZIP archives
This commit is contained in:
parent
edf67b8ebe
commit
77af6e50f6
@ -606,6 +606,10 @@ static boolean D_AddZipFile(const char *file)
|
||||
|
||||
name = M_BaseName(file_stat.m_filename);
|
||||
|
||||
// [FG] skip "hidden" files
|
||||
if (name[0] == '.')
|
||||
continue;
|
||||
|
||||
if (M_StringCaseEndsWith(name, ".wad") || M_StringCaseEndsWith(name, ".lmp") ||
|
||||
M_StringCaseEndsWith(name, ".ogg") || M_StringCaseEndsWith(name, ".flac") ||
|
||||
M_StringCaseEndsWith(name, ".mp3"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user