From bb0b10d49b5352e8857b5ad98319fd93ba211c33 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 19 Dec 2024 17:13:58 -0700 Subject: [PATCH] Match --- LEGO1/lego/legoomni/src/actors/helicopter.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/LEGO1/lego/legoomni/src/actors/helicopter.cpp b/LEGO1/lego/legoomni/src/actors/helicopter.cpp index 0e54fcab..e34e60d9 100644 --- a/LEGO1/lego/legoomni/src/actors/helicopter.cpp +++ b/LEGO1/lego/legoomni/src/actors/helicopter.cpp @@ -19,8 +19,6 @@ #include "mxtransitionmanager.h" #include "scripts.h" -#include - DECOMP_SIZE_ASSERT(Helicopter, 0x230) DECOMP_SIZE_ASSERT(HelicopterState, 0x0c) DECOMP_SIZE_ASSERT(Mx3DPointFloat, 0x14) @@ -451,9 +449,8 @@ void Helicopter::FUN_100042a0(const Matrix4& p_matrix) vec4 -= vec1; vec4.Unitize(); - vec5[0] = 0.0f; + vec5[0] = vec5[2] = 0.0f; vec5[1] = -1.0f; - vec5[2] = 0.0f; vec3.EqualsCross(&vec4, &vec5); vec3.Unitize(); @@ -463,8 +460,8 @@ void Helicopter::FUN_100042a0(const Matrix4& p_matrix) local90 = m_unk0x1a8; m_unk0x160 = local48; - ZEROVEC3(vec1); - ZEROVEC3(vec2); + vec1.Clear(); + vec2.Clear(); m_unk0x1f0 = Timer()->GetTime();