From 73844f14fa99cbbba694e0d353a416e7c1b0456c Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sat, 18 May 2024 15:05:45 -0400 Subject: [PATCH] Implement/match LegoAnimationManager::FUN_10063fb0 (#936) --- .../legoomni/src/common/legoanimationmanager.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp index 031fe940..3aee0c1a 100644 --- a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp +++ b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp @@ -2120,12 +2120,18 @@ void LegoAnimationManager::FUN_10063d10() } } -// STUB: LEGO1 0x10063fb0 +// FUNCTION: LEGO1 0x10063fb0 // FUNCTION: BETA10 0x100452a7 MxBool LegoAnimationManager::FUN_10063fb0(LegoLocation::Boundary* p_boundary, LegoWorld* p_world) { - // TODO - return TRUE; + if (p_boundary->m_name != NULL) { + Mx3DPointFloat vec; + LegoPathBoundary* boundary = p_world->FindPathBoundary(p_boundary->m_name); + LegoUnknown100db7f4* pSrcE = (LegoUnknown100db7f4*) boundary->GetEdges()[p_boundary->m_src]; + return FUN_10064010(boundary, pSrcE, p_boundary->m_srcScale); + } + + return FALSE; } // FUNCTION: LEGO1 0x10064010