proper formulation

This commit is contained in:
AzaezelX 2024-06-11 16:08:07 -05:00
parent 61978fa4da
commit 7ac714606f

View file

@ -4014,9 +4014,9 @@ void Player::updateActionThread()
mActionAnimation.callbackTripped = true;
}
if (mActionAnimation.action == PlayerData::NullAnimation || //no animation
((!mActionAnimation.waitForEnd || (mActionAnimation.atEnd && !mActionAnimation.holdAtEnd) && //either not waiting till the end, or not holding that state
(mActionAnimation.delayTicks -= mMountPending) <= 0))) //not waiting to mount
if (mActionAnimation.action == PlayerData::NullAnimation || !mActionAnimation.waitForEnd || //either no animation or not waiting till the end
((mActionAnimation.atEnd && !mActionAnimation.holdAtEnd) && //or not holding that state and
(mActionAnimation.delayTicks -= mMountPending) <= 0)) //not waiting to mount
{
pickActionAnimation();
}