Skip to content

Commit

Permalink
Merge pull request #2626 from akortunov/master
Browse files Browse the repository at this point in the history
Reset holstered shield before rebuilding an NPC animation
  • Loading branch information
akortunov committed Dec 5, 2019
2 parents ed9f4d9 + d66b81d commit 43330f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/openmw/mwrender/npcanimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ void NpcAnimation::setRenderBin()
void NpcAnimation::rebuild()
{
mScabbard.reset();
mHolsteredShield.reset();
updateNpcBase();

MWBase::Environment::get().getMechanicsManager()->forceStateUpdate(mPtr);
Expand Down

0 comments on commit 43330f1

Please sign in to comment.