mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- Ignored dehacked.exe from *.zip files to enable loading of *.deh files.
This commit is contained in:
parent
0dc70f847c
commit
5c05f1f3cd
1 changed files with 7 additions and 0 deletions
|
@ -259,6 +259,13 @@ bool FZipFile::Open(bool quiet)
|
|||
lump_p->CompressedSize = LittleLong(zip_fh->CompressedSize);
|
||||
lump_p->Position = LittleLong(zip_fh->LocalHeaderOffset);
|
||||
lump_p->CheckEmbedded();
|
||||
|
||||
// Ignore some very specific names
|
||||
if (0 == stricmp("dehacked.exe", name))
|
||||
{
|
||||
memset(lump_p->Name, 0, sizeof(lump_p->Name));
|
||||
}
|
||||
|
||||
lump_p++;
|
||||
}
|
||||
// Resize the lump record array to its actual size
|
||||
|
|
Loading…
Reference in a new issue