fix W_CheckNumForFolderStartPK3

This commit is contained in:
Alug committed 2025-05-28 17:47:29 +02:00
1 parent 7cf3113d67
commit 603267b753
1 file changed
+2 -2
+2 -2
View File
@@ -1094,10 +1094,10 @@ UINT16 W_CheckNumForFolderStartPK3(const char *name, UINT16 wad, UINT16 startlum
/* SLADE is special and puts a single directory entry. Skip that. */
if (strlen(lump_p->fullname) == name_length)
i++;
break;
return i;
}
}
return i;
return INT16_MAX;
}
// In a PK3 type of resource file, it looks for the next lumpinfo entry that doesn't share the specified pathfile.