Merge branch 'fix-addfolder' into 'next'

Fixed folder mods

Closes #889

See merge request STJr/SRB2!1820
This commit is contained in:
Eidolon 2022-11-13 23:21:19 +00:00
commit b93ae5a144

View file

@ -797,6 +797,7 @@ lumpinfo_t *getdirectoryfiles(const char *path, UINT16 *nlmp, UINT16 *nfolders)
// The complete name of the file, with its extension, // The complete name of the file, with its extension,
// excluding the path of the directory where it resides. // excluding the path of the directory where it resides.
lump_p->fullname = Z_StrDup(fullname); lump_p->fullname = Z_StrDup(fullname);
lump_p->hash = quickncasehash(lump_p->name, 8);
lump_p++; lump_p++;
i++; i++;