mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #1288 from Azaezel/alpha41/posePoking
pickanimation filter fix, with docs
This commit is contained in:
commit
760c153232
|
|
@ -4014,9 +4014,9 @@ void Player::updateActionThread()
|
|||
mActionAnimation.callbackTripped = true;
|
||||
}
|
||||
|
||||
if ((mActionAnimation.action == PlayerData::NullAnimation) ||
|
||||
((!mActionAnimation.waitForEnd || mActionAnimation.atEnd) &&
|
||||
(!mActionAnimation.holdAtEnd && (mActionAnimation.delayTicks -= !mMountPending) <= 0)))
|
||||
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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue