Implement/match LegoAnimationManager::FUN_10062710 (#897)

This commit is contained in:
Christian Semmler
2024-05-09 16:32:06 -04:00
committed by GitHub
parent 556cbdaab3
commit 172db7b5d8
2 changed files with 22 additions and 2 deletions

View File

@@ -1492,11 +1492,25 @@ MxBool LegoAnimationManager::FUN_10062650(Vector3& p_position, float p_und, Lego
return FALSE;
}
// STUB: LEGO1 0x10062710
// FUNCTION: LEGO1 0x10062710
// FUNCTION: BETA10 0x10043787
MxBool LegoAnimationManager::FUN_10062710(AnimInfo& p_info)
{
// TODO
MxU8 und = 0;
MxU8 actorId = GameState()->GetActorId();
if (actorId <= 5) {
und = g_unk0x100d8b28[actorId];
}
if (!(und & p_info.m_unk0x0c)) {
return TRUE;
}
if (ModelExists(p_info, GameState()->GetActorName())) {
return TRUE;
}
return FALSE;
}