forked from teamnwah/openmw-tes3coop
Play swimming animation fallback on the upper body when possible
This commit is contained in:
parent
1f755a2bc0
commit
e8cbdcfb1e
1 changed files with 2 additions and 1 deletions
|
@ -390,6 +390,7 @@ void CharacterController::refreshCurrentAnims(CharacterState idle, CharacterStat
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (weap != sWeaponTypeListEnd)
|
||||||
movemask = MWRender::Animation::BlendMask_LowerBody;
|
movemask = MWRender::Animation::BlendMask_LowerBody;
|
||||||
movementAnimName.erase(swimpos, 4);
|
movementAnimName.erase(swimpos, 4);
|
||||||
if(!mAnimation->hasAnimation(movementAnimName))
|
if(!mAnimation->hasAnimation(movementAnimName))
|
||||||
|
|
Loading…
Reference in a new issue