forked from teamnwah/openmw-tes3coop
Fix updatePtr
This commit is contained in:
parent
00d4fea91c
commit
d163228199
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void Objects::updatePtr(const MWWorld::Ptr &old, const MWWorld::Ptr &cur)
|
|||
PtrAnimationMap::iterator iter = mObjects.find(old);
|
||||
if(iter != mObjects.end())
|
||||
{
|
||||
Animation *anim = iter->second;
|
||||
osg::ref_ptr<Animation> anim = iter->second;
|
||||
mObjects.erase(iter);
|
||||
anim->updatePtr(cur);
|
||||
mObjects[cur] = anim;
|
||||
|
|
Loading…
Reference in a new issue