Clear unknown in ModelDbModel (#1586)

This commit is contained in:
Fabian Neundorf
2025-06-23 23:34:02 +02:00
committed by GitHub
parent edae5f58ec
commit 7f10f7ae14
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ MxResult ModelDbModel::Read(FILE* p_file)
if (fread(&m_up, sizeof(float), 3, p_file) != 3) {
return FAILURE;
}
if (fread(&m_unk0x34, sizeof(undefined), 1, p_file) != 1) {
if (fread(&m_visible, sizeof(MxU8), 1, p_file) != 1) {
return FAILURE;
}