mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00: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++)
|
||||
delete (mCompoundShape->getChildShape(i));
|
||||
delete mCompoundShape;
|
||||
mShape->mAnimatedShapes.clear();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user