From ed5259229edf64ea72eb7f146c678744d98e191b Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Mon, 23 Sep 2019 16:56:47 -0700 Subject: [PATCH] Fixed mesh cache not loading parts. --- common/lc_library.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/lc_library.cpp b/common/lc_library.cpp index 27232cc8..9358ac26 100644 --- a/common/lc_library.cpp +++ b/common/lc_library.cpp @@ -1088,10 +1088,6 @@ bool lcPiecesLibrary::LoadCachePiece(PieceInfo* Info) if (!ReadArchiveCacheFile(FileName, MeshData)) return false; - quint32 Flags; - if (MeshData.ReadBuffer((char*)&Flags, sizeof(Flags)) == 0) - return false; - lcMesh* Mesh = new lcMesh; if (Mesh->FileLoad(MeshData)) {