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))