mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Clear unknown in ModelDbModel
(#1586)
This commit is contained in:
@@ -393,7 +393,7 @@ MxResult LegoWorldPresenter::LoadWorldModel(ModelDbModel& p_model, FILE* p_wdbFi
|
|||||||
}
|
}
|
||||||
|
|
||||||
modelPresenter.SetAction(&action);
|
modelPresenter.SetAction(&action);
|
||||||
modelPresenter.FUN_1007ff70(chunk, createdEntity, p_model.m_unk0x34, p_world);
|
modelPresenter.FUN_1007ff70(chunk, createdEntity, p_model.m_visible, p_world);
|
||||||
delete[] buff;
|
delete[] buff;
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
|
@@ -52,7 +52,7 @@ MxResult ModelDbModel::Read(FILE* p_file)
|
|||||||
if (fread(&m_up, sizeof(float), 3, p_file) != 3) {
|
if (fread(&m_up, sizeof(float), 3, p_file) != 3) {
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
if (fread(&m_unk0x34, sizeof(undefined), 1, p_file) != 1) {
|
if (fread(&m_visible, sizeof(MxU8), 1, p_file) != 1) {
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -101,7 +101,7 @@ struct ModelDbModel {
|
|||||||
float m_location[3]; // 0x10
|
float m_location[3]; // 0x10
|
||||||
float m_direction[3]; // 0x1c
|
float m_direction[3]; // 0x1c
|
||||||
float m_up[3]; // 0x28
|
float m_up[3]; // 0x28
|
||||||
undefined m_unk0x34; // 0x34
|
MxU8 m_visible; // 0x34
|
||||||
};
|
};
|
||||||
|
|
||||||
// SIZE 0x18
|
// SIZE 0x18
|
||||||
|
Reference in New Issue
Block a user