From 765c49fd4ee5f2e4939ce71f5f4c5d6ff021a0fe Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 26 May 2024 11:12:37 -0400 Subject: [PATCH] Match LegoUnknown::FUN_1009a1e0 (#957) --- LEGO1/lego/sources/misc/legounknown.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/sources/misc/legounknown.cpp b/LEGO1/lego/sources/misc/legounknown.cpp index 6b4a710e..117a50af 100644 --- a/LEGO1/lego/sources/misc/legounknown.cpp +++ b/LEGO1/lego/sources/misc/legounknown.cpp @@ -42,9 +42,9 @@ LegoResult LegoUnknown::FUN_1009a1e0(float p_f1, Matrix4& p_mat, Vector3& p_v, L } else if (p_f1 >= 0.999) { v1 = m_unk0x00[0]; - ((Vector3&) v2).Add(&m_unk0x00[1]); - ((Vector3&) v3).Add(&m_unk0x00[2]); - ((Vector3&) v4).Add(&m_unk0x00[3]); + ((Vector3&) v1).Add(&m_unk0x00[1]); + ((Vector3&) v1).Add(&m_unk0x00[2]); + ((Vector3&) v1).Add(&m_unk0x00[3]); for (LegoS32 i = 0; i < 3; i++) { v4[i] = m_unk0x00[1][i] + m_unk0x00[2][i] * 2.0f + m_unk0x00[3][i] * 3.0f;