mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Fix NpcAnimation non-existing skeleton crash (Fixes #2028)
This commit is contained in:
parent
2be65a89a7
commit
8233f5894a
@ -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…
x
Reference in New Issue
Block a user