Implement/match LegoLoopingAnimPresenter (#924)

This commit is contained in:
Christian Semmler
2024-05-15 14:34:36 -04:00
committed by GitHub
parent 29a0e32739
commit 9a05edd0a7
16 changed files with 111 additions and 39 deletions

View File

@@ -53,7 +53,7 @@ void LegoAnimPresenter::Init()
m_unk0xa8.Clear();
m_unk0xa4 = 0;
m_currentWorld = NULL;
m_unk0x95 = 0;
m_unk0x95 = FALSE;
m_worldId = -1;
m_substMap = NULL;
m_worldAtom.Clear();
@@ -806,7 +806,7 @@ void LegoAnimPresenter::StreamingTickle()
}
else {
if (m_action->GetElapsedTime() > m_anim->GetDuration() + m_action->GetStartTime()) {
m_unk0x95 = 1;
m_unk0x95 = TRUE;
}
}
}