This commit is contained in:
jonschz 2026-01-05 14:23:40 +01:00
parent 71be68d144
commit b4e16e8549
2 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ LegoResult LegoLOD::Read(Tgl::Renderer* p_renderer, LegoTextureContainer* p_text
if (numTextureIndices > 0) { if (numTextureIndices > 0) {
textureIndices = new LegoU32[numPolys & USHRT_MAX][sizeOfArray(*textureIndices)]; textureIndices = new LegoU32[numPolys & USHRT_MAX][sizeOfArray(*textureIndices)];
if (p_storage->Read(textureIndices, (numPolys & USHRT_MAX) * 3 * sizeof(LegoU32)) != SUCCESS) { if (p_storage->Read(textureIndices, (numPolys & USHRT_MAX) * 3 * sizeof(LegoU32)) != SUCCESS) {
assertIfBeta10(0); assertIfBeta10(0);
goto done; goto done;
} }
} }

View File

@ -1,11 +1,11 @@
#include "viewlod.h" #include "viewlod.h"
// FUNCTION: LEGO1 0x100a5e40 // FUNCTION: LEGO1 0x100a5e40
// STUB: BETA10 0x10171bdf // FUNCTION: BETA10 0x10171bdf
ViewLOD::~ViewLOD() ViewLOD::~ViewLOD()
{ {
// TODO: BETA10 mismatches
if (m_meshBuilder) { if (m_meshBuilder) {
delete m_meshBuilder; delete m_meshBuilder;
} }
// something else happens on BETA10 here
} }