diff --git a/src/filesrch.c b/src/filesrch.c index ec095518e824d540675750c1b70c56fad9065b96..1d5467010b03fcd5497a06239cd3a32430d47613 100644 --- a/src/filesrch.c +++ b/src/filesrch.c @@ -797,6 +797,7 @@ lumpinfo_t *getdirectoryfiles(const char *path, UINT16 *nlmp, UINT16 *nfolders) // The complete name of the file, with its extension, // excluding the path of the directory where it resides. lump_p->fullname = Z_StrDup(fullname); + lump_p->hash = quickncasehash(lump_p->name, 8); lump_p++; i++;