mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-30 03:15:34 -05:00
Fix actions not ending
This commit is contained in:
parent
091ecd5935
commit
569d8ace96
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ void MxMediaPresenter::RepeatingTickle()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (m_action->GetElapsedTime() <= m_action->GetStartTime() + m_action->GetDuration()) {
|
if (m_action->GetStartTime() + m_action->GetDuration() <= m_action->GetElapsedTime()) {
|
||||||
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
|
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
|
||||||
m_currentTickleState = TickleState_unk5;
|
m_currentTickleState = TickleState_unk5;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue