Name m_unk0x21 as GetUseAlias in LegoMesh (#1567)

This commit is contained in:
Fabian Neundorf
2025-06-17 18:42:59 +02:00
committed by GitHub
parent fd3f08f4c4
commit 0b46acab54
3 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ LegoMesh::LegoMesh()
m_unk0x0d = 0;
m_unk0x10 = NULL;
m_unk0x20 = 0;
m_unk0x21 = FALSE;
m_useAlias = FALSE;
m_materialName = NULL;
}
@@ -55,7 +55,7 @@ LegoResult LegoMesh::Read(LegoStorage* p_storage)
if ((result = p_storage->Read(&m_unk0x20, sizeof(undefined))) != SUCCESS) {
return result;
}
if ((result = p_storage->Read(&m_unk0x21, sizeof(LegoU8))) != SUCCESS) {
if ((result = p_storage->Read(&m_useAlias, sizeof(LegoU8))) != SUCCESS) {
return result;
}