mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed bug where destroyed objects in love.physics cause crash when collected.
This commit is contained in:
@@ -42,8 +42,6 @@ namespace box2d
|
||||
|
||||
PolygonShape::~PolygonShape()
|
||||
{
|
||||
body->body->DestroyShape(shape);
|
||||
shape = 0;
|
||||
}
|
||||
|
||||
int PolygonShape::getPoints(lua_State * L)
|
||||
|
||||
Reference in New Issue
Block a user