Fixed bug where destroyed objects in love.physics cause crash when collected.

This commit is contained in:
rude
2009-11-10 23:25:12 +01:00
parent ee59f28e04
commit 86ac10c3f6
6 changed files with 19 additions and 7 deletions
+5
View File
@@ -48,6 +48,11 @@ namespace box2d
delete data;
data = 0;
body->body->DestroyShape(shape);
shape = 0;
body->release();
}
Shape::Type Shape::getType() const