diff --git a/source/common/filesystem/filesystem.cpp b/source/common/filesystem/filesystem.cpp index 0ea4ac7a6..dae98edf5 100644 --- a/source/common/filesystem/filesystem.cpp +++ b/source/common/filesystem/filesystem.cpp @@ -76,14 +76,14 @@ struct FileSystem::LumpRecord shortName.String[8] = 0; longName = ""; Namespace = lump->GetNamespace(); - resourceId = 0; + resourceId = -1; } else if ((lump->Flags & LUMPF_EMBEDDED) || !lump->getName() || !*lump->getName()) { shortName.qword = 0; longName = ""; Namespace = ns_hidden; - resourceId = 0; + resourceId = -1; } else {