From 0774ec6ca05a999959ee11985e1cb16adf817ba2 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 4 Feb 2024 12:28:17 -0500 Subject: [PATCH] Fix function return type --- LEGO1/lego/legoomni/include/legopathcontroller.h | 2 +- LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legopathcontroller.h b/LEGO1/lego/legoomni/include/legopathcontroller.h index 9eebb346..5d054356 100644 --- a/LEGO1/lego/legoomni/include/legopathcontroller.h +++ b/LEGO1/lego/legoomni/include/legopathcontroller.h @@ -36,7 +36,7 @@ class LegoPathController : public MxCore { virtual void Destroy(); // vtable+0x18 undefined4 FUN_10046770(IslePathActor* p_actor); - MxS32 FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value); + MxResult FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value); void Enable(MxBool p_enable); }; diff --git a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp index c3adf8de..404835eb 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp @@ -32,9 +32,9 @@ undefined4 LegoPathController::FUN_10046770(IslePathActor* p_actor) } // STUB: LEGO1 0x10046b30 -MxS32 LegoPathController::FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value) +MxResult LegoPathController::FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value) { - return 0; + return SUCCESS; } // STUB: LEGO1 0x10046be0