From 1b04b019d71513c5b23f808265ff746357593485 Mon Sep 17 00:00:00 2001 From: jonschz Date: Sun, 1 Dec 2024 18:11:17 +0100 Subject: [PATCH] Address review comments --- LEGO1/lego/legoomni/include/act2actor.h | 1 - LEGO1/lego/legoomni/src/actors/act2actor.cpp | 9 +++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LEGO1/lego/legoomni/include/act2actor.h b/LEGO1/lego/legoomni/include/act2actor.h index 36d176c7..3e0cb0dd 100644 --- a/LEGO1/lego/legoomni/include/act2actor.h +++ b/LEGO1/lego/legoomni/include/act2actor.h @@ -2,7 +2,6 @@ #define ACT2ACTOR_H #include "legoanimactor.h" -#include "legopathedgecontainer.h" // VTABLE: LEGO1 0x100d6078 LegoPathActor // VTABLE: LEGO1 0x100d6148 LegoAnimActor diff --git a/LEGO1/lego/legoomni/src/actors/act2actor.cpp b/LEGO1/lego/legoomni/src/actors/act2actor.cpp index 83654ecd..36fe47c6 100644 --- a/LEGO1/lego/legoomni/src/actors/act2actor.cpp +++ b/LEGO1/lego/legoomni/src/actors/act2actor.cpp @@ -2,6 +2,7 @@ #include "legocachesoundmanager.h" #include "legopathcontroller.h" +#include "legopathedgecontainer.h" #include "legosoundmanager.h" #include "misc.h" #include "roi/legoroi.h" @@ -109,15 +110,15 @@ void Act2Actor::FUN_100192a0(undefined4 p_param) m_grec = new LegoPathEdgeContainer(); assert(m_grec); - local38 = Vector3(g_unk0x100f0db8[p_param].m_unk0x00); - local4c = Vector3(g_unk0x100f0db8[p_param].m_unk0x0c); + local38 = g_unk0x100f0db8[p_param].m_unk0x00; + local4c = g_unk0x100f0db8[p_param].m_unk0x0c; LegoPathBoundary* otherBoundary = m_controller->GetPathBoundary(g_unk0x100f0db8[p_param].m_unk0x18); MxResult sts = m_controller->FUN_10048310( m_grec, - Vector3(m_roi->GetWorldPosition()), - Vector3(m_roi->GetWorldDirection()), + m_roi->GetWorldPosition(), + m_roi->GetWorldDirection(), m_boundary, local38, local4c,