diff --git a/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp b/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp index 7fe70171..ce3e2ba3 100644 --- a/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp +++ b/LEGO1/lego/legoomni/src/entity/legoworldpresenter.cpp @@ -354,7 +354,7 @@ MxResult LegoWorldPresenter::FUN_100674b0(ModelDbModel& p_model, FILE* p_wdbFile chunk.SetData(buffer); MxDSAction action; - action.SetLocation(Vector3(p_model.m_locatation)); + action.SetLocation(Vector3(p_model.m_location)); action.SetDirection(Vector3(p_model.m_direction)); Vector3 up = Vector3(Vector3(p_model.m_direction)); action.SetUp(up); diff --git a/LEGO1/modeldb/modeldb.cpp b/LEGO1/modeldb/modeldb.cpp index 13a25ba4..d7a8336f 100644 --- a/LEGO1/modeldb/modeldb.cpp +++ b/LEGO1/modeldb/modeldb.cpp @@ -35,7 +35,7 @@ MxResult ModelDbModel::Read(FILE* p_file) 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; } if (fread(&m_direction, sizeof(*m_direction), 3, p_file) != 3) { diff --git a/LEGO1/modeldb/modeldb.h b/LEGO1/modeldb/modeldb.h index 27980cea..943927ef 100644 --- a/LEGO1/modeldb/modeldb.h +++ b/LEGO1/modeldb/modeldb.h @@ -97,7 +97,7 @@ struct ModelDbModel { undefined4 m_unk0x04; // 0x04 undefined4 m_unk0x08; // 0x08 char* m_presenterName; // 0x0c - float m_locatation[3]; // 0x10 + float m_location[3]; // 0x10 float m_direction[3]; // 0x1c float m_up[3]; // 0x28 undefined m_unk0x34; // 0x34