forked from teamnwah/openmw-tes3coop
fix crash introduced by last commit
This commit is contained in:
parent
b6744e6195
commit
0b850a2cb5
1 changed files with 2 additions and 0 deletions
|
@ -328,6 +328,8 @@ namespace Physic
|
|||
dynamicsWorld->removeRigidBody(hf.mBody);
|
||||
delete hf.mShape;
|
||||
delete hf.mBody;
|
||||
|
||||
mHeightFieldMap.erase(name);
|
||||
}
|
||||
|
||||
RigidBody* PhysicEngine::createRigidBody(std::string mesh,std::string name,float scale)
|
||||
|
|
Loading…
Reference in a new issue