From f8d76e100e2a9942c4ebc21d013892268f5d02c3 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 11 May 2024 13:07:54 -0400 Subject: [PATCH] Add 100482b0 --- LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp index 035ec911..dc03c6e2 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp @@ -286,10 +286,13 @@ MxResult LegoPathController::FUN_10047e90(LegoStorage* p_storage) return SUCCESS; } -// STUB: LEGO1 0x100482b0 +// FUNCTION: LEGO1 0x100482b0 // FUNCTION: BETA10 0x100b8864 -MxResult LegoPathController::FUN_100482b0(LegoStorage* p_storage, Mx3DPointFloat&) +MxResult LegoPathController::FUN_100482b0(LegoStorage* p_storage, Mx3DPointFloat& p_vec) { - // TODO + if (p_storage->Read(p_vec.GetData(), sizeof(float) * 3) != SUCCESS) { + return FAILURE; + } + return SUCCESS; }