This commit is contained in:
Christian Semmler 2024-04-14 10:33:04 -04:00
parent a44c261c41
commit 2441c5d14a

View File

@ -228,8 +228,6 @@ MxS32 LegoPathActor::VTable0x8c(float p_time, Matrix4& p_transform)
Mx3DPointFloat p6; Mx3DPointFloat p6;
p6 = p2; p6 = p2;
MxS32 result = 0;
m_unk0xe9 = m_boundary->Intersect(m_roi->GetWorldBoundingSphere().Radius(), p4, p2, p3, m_destEdge); m_unk0xe9 = m_boundary->Intersect(m_roi->GetWorldBoundingSphere().Radius(), p4, p2, p3, m_destEdge);
if (m_unk0xe9 == -1) { if (m_unk0xe9 == -1) {
return -1; return -1;
@ -239,11 +237,12 @@ MxS32 LegoPathActor::VTable0x8c(float p_time, Matrix4& p_transform)
p2 = p3; p2 = p3;
} }
result = VTable0x68(p4, p2, p3); MxS32 result = VTable0x68(p4, p2, p3);
if (result > 0) { if (result > 0) {
p2 = p4; p2 = p4;
m_unk0xe9 = 0; m_unk0xe9 = 0;
result = 0;
} }
else { else {
m_boundary->FUN_100575b0(p4, p2, this); m_boundary->FUN_100575b0(p4, p2, this);