From 6290c8c0289f962e759fae3325d4c7720652e54d Mon Sep 17 00:00:00 2001 From: jonschz Date: Sun, 1 Dec 2024 09:19:20 +0100 Subject: [PATCH] Fix clang32 issue --- LEGO1/lego/legoomni/include/act2actor.h | 8 ++++---- LEGO1/lego/legoomni/include/legopathcontroller.h | 8 ++++---- LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/LEGO1/lego/legoomni/include/act2actor.h b/LEGO1/lego/legoomni/include/act2actor.h index e70a9ad5..36d176c7 100644 --- a/LEGO1/lego/legoomni/include/act2actor.h +++ b/LEGO1/lego/legoomni/include/act2actor.h @@ -12,10 +12,10 @@ class Act2Actor : public LegoAnimActor { public: struct UnknownListStructure { - MxFloat m_unk0x00[3]; // 0x00 - MxFloat m_unk0x0c[3]; // 0x0c - const LegoChar* m_unk0x18; // 0x18 - undefined m_unk0x1c; // 0x1c + MxFloat m_unk0x00[3]; // 0x00 + MxFloat m_unk0x0c[3]; // 0x0c + const char* m_unk0x18; // 0x18 + undefined m_unk0x1c; // 0x1c }; Act2Actor(); diff --git a/LEGO1/lego/legoomni/include/legopathcontroller.h b/LEGO1/lego/legoomni/include/legopathcontroller.h index 250e9e61..10185666 100644 --- a/LEGO1/lego/legoomni/include/legopathcontroller.h +++ b/LEGO1/lego/legoomni/include/legopathcontroller.h @@ -119,11 +119,11 @@ class LegoPathController : public MxCore { ); MxResult FUN_10048310( LegoPathEdgeContainer* p_grec, - Vector3& p_position, - Vector3& p_direction, + const Vector3& p_position, + const Vector3& p_direction, LegoPathBoundary* p_boundary1, - Vector3& p_param5, - Vector3& p_param6, + const Vector3& p_param5, + const Vector3& p_param6, LegoPathBoundary* p_boundary2, MxBool p_param8, MxFloat* p_param9 diff --git a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp index c362dce5..e034db98 100644 --- a/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp +++ b/LEGO1/lego/legoomni/src/paths/legopathcontroller.cpp @@ -737,11 +737,11 @@ MxResult LegoPathController::ReadVector(LegoStorage* p_storage, Mx4DPointFloat& // STUB: BETA10 0x100b8911 MxResult LegoPathController::FUN_10048310( LegoPathEdgeContainer* p_grec, - Vector3& p_position, - Vector3& p_direction, + const Vector3& p_position, + const Vector3& p_direction, LegoPathBoundary* p_boundary1, - Vector3& p_param5, - Vector3& p_param6, + const Vector3& p_param5, + const Vector3& p_param6, LegoPathBoundary* p_boundary2, MxBool p_param8, MxFloat* p_param9