diff --git a/r5dev/vpklib/packedstore.cpp b/r5dev/vpklib/packedstore.cpp index 64a2d21e..5f4f45d7 100644 --- a/r5dev/vpklib/packedstore.cpp +++ b/r5dev/vpklib/packedstore.cpp @@ -98,7 +98,9 @@ void CPackedStore::GetEntryBlocks(CUtlVector& entryBlocks, File { while (!(fileName = FileSystem()->ReadString(hDirectoryFile)).IsEmpty()) { + filePath.AppendSlash(); const CUtlString svFilePath = FormatEntryPath(filePath, fileName, fileExtension); + entryBlocks.AddToTail(VPKEntryBlock_t(hDirectoryFile, svFilePath.Get())); } }