1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-11 00:44:33 +00:00

Play swimming animation fallback on the upper body when possible

This commit is contained in:
scrawl 2015-07-31 00:35:17 +02:00
parent 1f755a2bc0
commit e8cbdcfb1e

View File

@ -390,6 +390,7 @@ void CharacterController::refreshCurrentAnims(CharacterState idle, CharacterStat
}
else
{
if (weap != sWeaponTypeListEnd)
movemask = MWRender::Animation::BlendMask_LowerBody;
movementAnimName.erase(swimpos, 4);
if(!mAnimation->hasAnimation(movementAnimName))