mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
Play swimming animation fallback on the upper body when possible
This commit is contained in:
parent
1f755a2bc0
commit
e8cbdcfb1e
@ -390,7 +390,8 @@ void CharacterController::refreshCurrentAnims(CharacterState idle, CharacterStat
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
movemask = MWRender::Animation::BlendMask_LowerBody;
|
if (weap != sWeaponTypeListEnd)
|
||||||
|
movemask = MWRender::Animation::BlendMask_LowerBody;
|
||||||
movementAnimName.erase(swimpos, 4);
|
movementAnimName.erase(swimpos, 4);
|
||||||
if(!mAnimation->hasAnimation(movementAnimName))
|
if(!mAnimation->hasAnimation(movementAnimName))
|
||||||
movementAnimName.clear();
|
movementAnimName.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user