This commit is contained in:
Misha 2024-03-03 18:32:45 -05:00
parent a11a350204
commit 2fc7410e1d
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
3 changed files with 3 additions and 3 deletions

View File

@ -354,7 +354,7 @@ MxResult LegoWorldPresenter::FUN_100674b0(ModelDbModel& p_model, FILE* p_wdbFile
chunk.SetData(buffer); chunk.SetData(buffer);
MxDSAction action; MxDSAction action;
action.SetLocation(Vector3(p_model.m_locatation)); action.SetLocation(Vector3(p_model.m_location));
action.SetDirection(Vector3(p_model.m_direction)); action.SetDirection(Vector3(p_model.m_direction));
Vector3 up = Vector3(Vector3(p_model.m_direction)); Vector3 up = Vector3(Vector3(p_model.m_direction));
action.SetUp(up); action.SetUp(up);

View File

@ -35,7 +35,7 @@ MxResult ModelDbModel::Read(FILE* p_file)
return FAILURE; return FAILURE;
} }
if (fread(&m_locatation, sizeof(*m_locatation), 3, p_file) != 3) { if (fread(&m_location, sizeof(*m_location), 3, p_file) != 3) {
return FAILURE; return FAILURE;
} }
if (fread(&m_direction, sizeof(*m_direction), 3, p_file) != 3) { if (fread(&m_direction, sizeof(*m_direction), 3, p_file) != 3) {

View File

@ -97,7 +97,7 @@ struct ModelDbModel {
undefined4 m_unk0x04; // 0x04 undefined4 m_unk0x04; // 0x04
undefined4 m_unk0x08; // 0x08 undefined4 m_unk0x08; // 0x08
char* m_presenterName; // 0x0c char* m_presenterName; // 0x0c
float m_locatation[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 undefined m_unk0x34; // 0x34