Make comparison more obvious

This commit is contained in:
Christian Semmler 2024-01-07 21:23:09 -05:00
parent 569d8ace96
commit 855e548516
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -226,7 +226,7 @@ void MxMediaPresenter::RepeatingTickle()
}
}
else {
if (m_action->GetStartTime() + m_action->GetDuration() <= m_action->GetElapsedTime()) {
if (m_action->GetElapsedTime() >= m_action->GetStartTime() + m_action->GetDuration()) {
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
m_currentTickleState = TickleState_unk5;
}