From 5333459a98fae2d6612a24ee780ded3fbf2c0498 Mon Sep 17 00:00:00 2001 From: jonschz Date: Fri, 4 Oct 2024 12:55:47 +0200 Subject: [PATCH] Fix formatting --- LEGO1/lego/legoomni/src/build/legocarbuildpresenter.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/build/legocarbuildpresenter.cpp b/LEGO1/lego/legoomni/src/build/legocarbuildpresenter.cpp index 260a9c92..29b35d21 100644 --- a/LEGO1/lego/legoomni/src/build/legocarbuildpresenter.cpp +++ b/LEGO1/lego/legoomni/src/build/legocarbuildpresenter.cpp @@ -97,7 +97,8 @@ void LegoCarBuildAnimPresenter::RotateAroundYAxis(MxFloat p_angle) if (m_unk0xc4) { LegoRotationKey* rotationKey = m_unk0xc4->GetRotationKey(0); - Mx4DPointFloat currentRotation(rotationKey->GetX(), rotationKey->GetY(), rotationKey->GetZ(), rotationKey->GetAngle()); + Mx4DPointFloat + currentRotation(rotationKey->GetX(), rotationKey->GetY(), rotationKey->GetZ(), rotationKey->GetAngle()); Mx4DPointFloat additionalRotation(0.0f, 1.0f, 0.0f, -p_angle); Mx4DPointFloat newRotation; @@ -106,7 +107,8 @@ void LegoCarBuildAnimPresenter::RotateAroundYAxis(MxFloat p_angle) if (newRotation[3] < 0.9999) { rotationKey->FUN_100739a0(TRUE); - } else { + } + else { rotationKey->FUN_100739a0(FALSE); }