diff --git a/LEGO1/lego/legoomni/include/legopathcontroller.h b/LEGO1/lego/legoomni/include/legopathcontroller.h index 7e9850ac..53a4ef36 100644 --- a/LEGO1/lego/legoomni/include/legopathcontroller.h +++ b/LEGO1/lego/legoomni/include/legopathcontroller.h @@ -76,7 +76,7 @@ class LegoPathController : public MxCore { MxResult ReadStructs(LegoStorage* p_storage); MxResult ReadEdges(LegoStorage* p_storage); MxResult FUN_10047e90(LegoStorage* p_storage); - static MxResult FUN_100482b0(LegoStorage* p_storage, Mx3DPointFloat&); + static MxResult ReadVector(LegoStorage* p_storage, Mx3DPointFloat&); LegoPathBoundary* m_unk0x08; // 0x08 LegoPathCtrlEdge* m_unk0x0c; // 0x0c diff --git a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp index dc03c6e2..1889e391 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp @@ -160,7 +160,7 @@ MxResult LegoPathController::Read(LegoStorage* p_storage) if (m_numN > 0) { for (MxS32 i = 0; i < m_numN; i++) { - if (FUN_100482b0(p_storage, m_unk0x10[i]) != SUCCESS) { + if (ReadVector(p_storage, m_unk0x10[i]) != SUCCESS) { return FAILURE; } } @@ -266,7 +266,7 @@ MxResult LegoPathController::ReadEdges(LegoStorage* p_storage) edge.m_cwB = &m_unk0x0c[s]; } - if (FUN_100482b0(p_storage, edge.m_unk0x28) != SUCCESS) { + if (ReadVector(p_storage, edge.m_unk0x28) != SUCCESS) { return FAILURE; } @@ -288,7 +288,7 @@ MxResult LegoPathController::FUN_10047e90(LegoStorage* p_storage) // FUNCTION: LEGO1 0x100482b0 // FUNCTION: BETA10 0x100b8864 -MxResult LegoPathController::FUN_100482b0(LegoStorage* p_storage, Mx3DPointFloat& p_vec) +MxResult LegoPathController::ReadVector(LegoStorage* p_storage, Mx3DPointFloat& p_vec) { if (p_storage->Read(p_vec.GetData(), sizeof(float) * 3) != SUCCESS) { return FAILURE;