From 32392a8e55c6c783621eebe6e97eeb47143c5bc1 Mon Sep 17 00:00:00 2001 From: Christian Semmler <mail@csemmler.com> Date: Fri, 13 Dec 2024 09:12:53 -0700 Subject: [PATCH] Fix `Act2Actor::FUN_10019700` (#1216) --- LEGO1/lego/legoomni/src/actors/act2actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/actors/act2actor.cpp b/LEGO1/lego/legoomni/src/actors/act2actor.cpp index 160cfb30..ddc660fc 100644 --- a/LEGO1/lego/legoomni/src/actors/act2actor.cpp +++ b/LEGO1/lego/legoomni/src/actors/act2actor.cpp @@ -533,7 +533,7 @@ undefined4 Act2Actor::FUN_10019700(MxFloat p_param) return 1; } - if ((!g_unk0x100f0f28) && (m_unk0x30 < p_param)) { + if (!g_unk0x100f0f28 && m_unk0x30 < p_param) { g_unk0x100f0f28 = TRUE; assert(SoundManager()->GetCacheSoundManager()); SoundManager()->GetCacheSoundManager()->Play(m_unk0x38, "brickstr", FALSE); @@ -574,7 +574,7 @@ undefined4 Act2Actor::FUN_10019700(MxFloat p_param) col2.Unitize(); col0.EqualsCross(&col1, &col2); col0.Unitize(); - col1.EqualsCross(&col2, &col3); + col1.EqualsCross(&col2, &col0); assert(!m_cameraFlag);