mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 09:24:17 +00:00
Clear unknowns in LegoROI (#1630)
This commit is contained in:
@@ -638,7 +638,7 @@ void Act3Brickster::Animate(float p_time)
|
||||
float time = p_time - (m_unk0x50 - m_shootAnim->GetDuration());
|
||||
|
||||
for (MxS32 i = 0; i < root->GetNumChildren(); i++) {
|
||||
LegoROI::FUN_100a8e80(root->GetChild(i), local70, time, m_shootAnim->GetROIMap());
|
||||
LegoROI::ApplyAnimationTransformation(root->GetChild(i), local70, time, m_shootAnim->GetROIMap());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -685,7 +685,7 @@ void Act3Brickster::Animate(float p_time)
|
||||
float time = p_time - (m_unk0x50 - m_shootAnim->GetDuration());
|
||||
|
||||
for (MxS32 i = 0; i < root->GetNumChildren(); i++) {
|
||||
LegoROI::FUN_100a8e80(root->GetChild(i), locale4, time, m_shootAnim->GetROIMap());
|
||||
LegoROI::ApplyAnimationTransformation(root->GetChild(i), locale4, time, m_shootAnim->GetROIMap());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1186,7 +1186,7 @@ void Act3Shark::Animate(float p_time)
|
||||
vec = m_unk0x3c;
|
||||
|
||||
LegoTreeNode* node = m_unk0x34->GetAnimTreePtr()->GetRoot();
|
||||
LegoROI::FUN_100a8e80(node, mat, duration, m_unk0x34->GetROIMap());
|
||||
LegoROI::ApplyAnimationTransformation(node, mat, duration, m_unk0x34->GetROIMap());
|
||||
}
|
||||
else {
|
||||
roiMap[1] = m_unk0x38;
|
||||
|
||||
Reference in New Issue
Block a user