From f6ed418bcbe9d50c46cb5b104c3cc41ed703566f Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 21 Feb 2025 15:44:36 -0700 Subject: [PATCH] Rename param --- LEGO1/lego/legoomni/include/act3.h | 2 +- LEGO1/lego/legoomni/src/worlds/act3.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/include/act3.h b/LEGO1/lego/legoomni/include/act3.h index 8b31ea73..dc81160c 100644 --- a/LEGO1/lego/legoomni/include/act3.h +++ b/LEGO1/lego/legoomni/include/act3.h @@ -155,7 +155,7 @@ class Act3 : public LegoWorld { const Matrix4& p_destination, const Matrix4& p_startPosition, const Matrix4& p_endPosition, - const MxQuaternionTransformer& p_unk0x1f4 + const MxQuaternionTransformer& p_quatTransform ); Act3State* m_state; // 0xf8 diff --git a/LEGO1/lego/legoomni/src/worlds/act3.cpp b/LEGO1/lego/legoomni/src/worlds/act3.cpp index 2853d240..daee3b2d 100644 --- a/LEGO1/lego/legoomni/src/worlds/act3.cpp +++ b/LEGO1/lego/legoomni/src/worlds/act3.cpp @@ -793,7 +793,7 @@ void Act3::DebugCopter( const Matrix4& p_destination, const Matrix4& p_startPosition, const Matrix4& p_endPosition, - const MxQuaternionTransformer& p_unk0x1f4 + const MxQuaternionTransformer& p_quatTransform ) { DebugPrintf("Copter matrix...\n\n"); @@ -825,8 +825,8 @@ void Act3::DebugCopter( Mx4DPointFloat startQuat, endQuat; - if (p_unk0x1f4.GetFlags() != 0) { - p_unk0x1f4.GetQuat(startQuat, endQuat); + if (p_quatTransform.GetFlags() != 0) { + p_quatTransform.GetQuat(startQuat, endQuat); DebugPrintf("Source quaternion..."); // STRING: LEGO1 0x100f7864