mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
clang reports: unclear || + && and &+| mixes.
This commit is contained in:
parent
1131ed15df
commit
c57b1a8b70
16 changed files with 30 additions and 28 deletions
|
|
@ -3930,9 +3930,9 @@ void Player::updateActionThread()
|
|||
if (mMountPending)
|
||||
mMountPending = (isMounted() ? 0 : (mMountPending - 1));
|
||||
|
||||
if (mActionAnimation.action == PlayerData::NullAnimation ||
|
||||
((!mActionAnimation.waitForEnd || mActionAnimation.atEnd)) &&
|
||||
!mActionAnimation.holdAtEnd && (mActionAnimation.delayTicks -= !mMountPending) <= 0)
|
||||
if ((mActionAnimation.action == PlayerData::NullAnimation) ||
|
||||
((!mActionAnimation.waitForEnd || mActionAnimation.atEnd) &&
|
||||
(!mActionAnimation.holdAtEnd && (mActionAnimation.delayTicks -= !mMountPending) <= 0)))
|
||||
{
|
||||
//The scripting language will get a call back when a script animation has finished...
|
||||
// example: When the chat menu animations are done playing...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue