forked from teamnwah/openmw-tes3coop
Fix NpcAnimation non-existing skeleton crash (Fixes #2028)
This commit is contained in:
parent
f117a75747
commit
5892fd9e65
1 changed files with 2 additions and 2 deletions
|
@ -200,10 +200,10 @@ NpcAnimation::NpcAnimation(const MWWorld::Ptr& ptr, Ogre::SceneNode* node, int v
|
|||
mPartPriorities[i] = 0;
|
||||
}
|
||||
|
||||
updateNpcBase();
|
||||
|
||||
if (!disableListener)
|
||||
mPtr.getClass().getInventoryStore(mPtr).setListener(this, mPtr);
|
||||
|
||||
updateNpcBase();
|
||||
}
|
||||
|
||||
void NpcAnimation::setViewMode(NpcAnimation::ViewMode viewMode)
|
||||
|
|
Loading…
Reference in a new issue