From 8ab78ee23229f47e9504e1ad2e8449055b43758d Mon Sep 17 00:00:00 2001 From: jonschz Date: Wed, 17 Jul 2024 15:45:33 +0200 Subject: [PATCH] Address more review comments --- LEGO1/lego/legoomni/include/legoracers.h | 10 +++++----- LEGO1/lego/legoomni/src/race/legoracers.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legoracers.h b/LEGO1/lego/legoomni/include/legoracers.h index 5f77998e..d66349a5 100644 --- a/LEGO1/lego/legoomni/include/legoracers.h +++ b/LEGO1/lego/legoomni/include/legoracers.h @@ -16,10 +16,10 @@ struct EdgeReference { // SIZE 0x10 struct SkeletonKickPhase { - EdgeReference* m_edgeRef; // 0x00 - float m_lower; // 0x04 - float m_upper; // 0x08 - unsigned char m_userState; // 0x0c + EdgeReference* m_edgeRef; // 0x00 + float m_lower; // 0x04 + float m_upper; // 0x08 + MxU8 m_userState; // 0x0c }; // VTABLE: LEGO1 0x100d58a0 LegoRaceActor @@ -71,7 +71,7 @@ class LegoRaceCar : public LegoCarRaceActor, public LegoRaceMap { virtual void SetMaxLinearVelocity(float p_maxLinearVelocity); virtual void FUN_10012ff0(float p_param); - virtual MxS32 HandleSkeletonKicks(float p_param1); + virtual MxU32 HandleSkeletonKicks(float p_param1); // SYNTHETIC: LEGO1 0x10014240 // LegoRaceCar::`scalar deleting destructor' diff --git a/LEGO1/lego/legoomni/src/race/legoracers.cpp b/LEGO1/lego/legoomni/src/race/legoracers.cpp index 16e8c032..720ea13c 100644 --- a/LEGO1/lego/legoomni/src/race/legoracers.cpp +++ b/LEGO1/lego/legoomni/src/race/legoracers.cpp @@ -212,7 +212,7 @@ void LegoRaceCar::FUN_10012ff0(float p_param) // FUNCTION: LEGO1 0x10013130 // FUNCTION: BETA10 0x100cce50 -MxS32 LegoRaceCar::HandleSkeletonKicks(float p_param1) +MxU32 LegoRaceCar::HandleSkeletonKicks(float p_param1) { const SkeletonKickPhase* current = g_skeletonKickPhases;