mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-10 12:59:58 -04:00
Fix exception for box shapes (Fixes #1580)
This commit is contained in:
parent
911bd0e340
commit
1ab02d8072
@ -108,6 +108,7 @@ void ManualBulletShapeLoader::loadResource(Ogre::Resource *resource)
|
|||||||
for(int i=0; i <n;i++)
|
for(int i=0; i <n;i++)
|
||||||
delete (mCompoundShape->getChildShape(i));
|
delete (mCompoundShape->getChildShape(i));
|
||||||
delete mCompoundShape;
|
delete mCompoundShape;
|
||||||
|
mShape->mAnimatedShapes.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user