Fixed mesh cache not loading parts.

This commit is contained in:
Leonardo Zide 2019-09-23 16:56:47 -07:00
parent 66bbb8d9de
commit ed5259229e

View file

@ -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))
{