Archived
1
Fork 0

Always read 3 lods

This commit is contained in:
Joshua Goins 2022-04-28 23:19:17 -04:00
parent 071aed6596
commit 98793efa70

View file

@ -224,7 +224,7 @@ Model parseMDL(MemorySpan data) {
} }
std::vector<MeshLod> lods; std::vector<MeshLod> lods;
data.read_structures(&lods, modelHeader.lodCount); data.read_structures(&lods, 3);
std::vector<Mesh> meshes(modelHeader.meshCount); std::vector<Mesh> meshes(modelHeader.meshCount);
for(int i = 0; i < modelHeader.meshCount; i++) { for(int i = 0; i < modelHeader.meshCount; i++) {