mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Implement/match LegoAnimMMPresenter::FUN_1004b450 (#827)
This commit is contained in:
committed by
GitHub
parent
c617139d5b
commit
91d043a9ae
@@ -216,12 +216,12 @@ void MxMediaPresenter::RepeatingTickle()
|
||||
if (m_currentChunk) {
|
||||
MxLong time = m_currentChunk->GetTime();
|
||||
if (time <= m_action->GetElapsedTime() % m_action->GetLoopCount()) {
|
||||
ProgressTickleState(e_unk5);
|
||||
ProgressTickleState(e_freezing);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (m_action->GetElapsedTime() >= m_action->GetStartTime() + m_action->GetDuration()) {
|
||||
ProgressTickleState(e_unk5);
|
||||
ProgressTickleState(e_freezing);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,11 +156,11 @@ MxResult MxPresenter::Tickle()
|
||||
case e_repeating:
|
||||
this->RepeatingTickle();
|
||||
|
||||
if (m_currentTickleState != e_unk5) {
|
||||
if (m_currentTickleState != e_freezing) {
|
||||
break;
|
||||
}
|
||||
case e_unk5:
|
||||
this->Unk5Tickle();
|
||||
case e_freezing:
|
||||
this->FreezingTickle();
|
||||
|
||||
if (m_currentTickleState != e_done) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user