1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 12:39:55 +00:00

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

This commit is contained in:
Alexei Dobrohotov 2019-06-22 23:05:20 +03:00 committed by GitHub
parent 42f094fa7a
commit 3cbe4ab85d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
{