1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00

Reset holstered shield before rebuilding an NPC animation

This commit is contained in:
Andrei Kortunov 2019-12-05 17:35:32 +04:00
parent ab4b3677e3
commit d66b81d7f7

View file

@ -409,6 +409,7 @@ void NpcAnimation::setRenderBin()
void NpcAnimation::rebuild()
{
mScabbard.reset();
mHolsteredShield.reset();
updateNpcBase();
MWBase::Environment::get().getMechanicsManager()->forceStateUpdate(mPtr);