fix crash introduced by last commit

actorid
scrawl 13 years ago
parent b6744e6195
commit 0b850a2cb5

@ -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…
Cancel
Save