Implement/match LegoCharacterManager GetActor/Exists, fix loops (#750)

This commit is contained in:
Christian Semmler
2024-03-29 13:30:46 -04:00
committed by GitHub
parent e260a407ba
commit ed1a25a636
4 changed files with 42 additions and 31 deletions

View File

@@ -427,7 +427,7 @@ MxResult LegoAnimationManager::StartEntityAction(MxDSAction& p_dsAction, LegoEnt
LegoROI* roi = p_entity->GetROI();
if (p_entity->GetUnknown0x59() == 0) {
LegoPathActor* actor = CharacterManager()->FUN_10084c40(roi->GetName());
LegoPathActor* actor = CharacterManager()->GetActor(roi->GetName());
if (actor) {
LegoPathController* controller = actor->GetController();