1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00

Fix WeaponAnimationTime not working after restoring draw state (when loading save or re-entering a cell - Fixes #1497)

This commit is contained in:
scrawl 2014-06-16 01:58:13 +02:00
parent 9ea071c1e8
commit 345ba99c17

View file

@ -514,6 +514,7 @@ CharacterController::CharacterController(const MWWorld::Ptr &ptr, MWRender::Anim
getWeaponGroup(mWeaponType, mCurrentWeapon);
mUpperBodyState = UpperCharState_WeapEquiped;
mAnimation->showWeapons(true);
mAnimation->setWeaponGroup(mCurrentWeapon);
}
mAnimation->showCarriedLeft(mWeaponType != WeapType_Spell && mWeaponType != WeapType_HandToHand);
}