Fix idlestorm blend mask (bugs #4240, #5071)

pull/541/head
Alexei Dobrohotov 6 years ago committed by GitHub
parent 42f094fa7a
commit 3cbe4ab85d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1135,8 +1135,8 @@ void CharacterController::updateIdleStormState(bool inwater)
{
if (!mAnimation->isPlaying("idlestorm"))
{
mAnimation->play("idlestorm", Priority_Storm, MWRender::Animation::BlendMask_RightArm, true,
1.0f, "start", "stop", 0.0f, ~0ul);
int mask = MWRender::Animation::BlendMask_Torso | MWRender::Animation::BlendMask_RightArm;
mAnimation->play("idlestorm", Priority_Storm, mask, true, 1.0f, "start", "stop", 0.0f, ~0ul);
}
else
{

Loading…
Cancel
Save