diff --git a/src/w_wad.c b/src/w_wad.c index 2a2efb19e..e8910e098 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -1062,7 +1062,7 @@ UINT16 W_CheckNumForLongNamePwad(const char *name, UINT16 wad, UINT16 startlump) lumpinfo_t *lump_p = wadfiles[wad]->lumpinfo + startlump; for (i = startlump; i < wadfiles[wad]->numlumps; i++, lump_p++) if (lump_p->longnamelength == namelen - && lump_p->hash.name == hash + && lump_p->hash.longname == hash && !stricmp(lump_p->longname, name)) return i; }