diff --git a/Demos/CommonRigidBodySetup.h b/Demos/CommonRigidBodySetup.h index 4d118162a..0520b038d 100644 --- a/Demos/CommonRigidBodySetup.h +++ b/Demos/CommonRigidBodySetup.h @@ -206,7 +206,6 @@ struct CommonRigidBodySetup : public CommonPhysicsSetup btBoxShape* createBoxShape(const btVector3& halfExtents) { btBoxShape* box = new btBoxShape(halfExtents); - m_collisionShapes.push_back(box); return box; }