Make comparison more obvious

This commit is contained in:
Christian Semmler
2024-01-07 21:23:09 -05:00
parent 569d8ace96
commit 855e548516

View File

@@ -226,7 +226,7 @@ void MxMediaPresenter::RepeatingTickle()
} }
} }
else { 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_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
m_currentTickleState = TickleState_unk5; m_currentTickleState = TickleState_unk5;
} }