| 3800 | //---------------------------------------------------------------------------- |
| 3801 | |
| 3802 | bool Player::setActionThread(const char* sequence,bool hold,bool wait,bool fsp) |
| 3803 | { |
| 3804 | if (anim_clip_flags & ANIM_OVERRIDDEN) |
| 3805 | return false; |
| 3806 | for (U32 i = 1; i < mDataBlock->actionCount; i++) |
| 3807 | { |
| 3808 | PlayerData::ActionAnimation &anim = mDataBlock->actionList[i]; |
| 3809 | if (!dStricmp(anim.name,sequence)) |
| 3810 | { |
| 3811 | setActionThread(i,true,hold,wait,fsp); |
| 3812 | setMaskBits(ActionMask); |
| 3813 | return true; |
| 3814 | } |
| 3815 | } |
| 3816 | return false; |
| 3817 | } |
| 3818 | |
| 3819 | void Player::setActionThread(U32 action,bool forward,bool hold,bool wait,bool fsp, bool forceSet) |
| 3820 | { |
no test coverage detected