mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 09:09:41 +00:00
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,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…
Reference in a new issue