roll back player animation picking

old one worked better even if it made the compiler scream
This commit is contained in:
AzaezelX 2024-07-26 10:25:02 -05:00
parent 06bcf57755
commit b5e1b32064

View file

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