diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-05-08 04:25:20 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-05-08 04:25:20 +0400 |
commit | bd50d2f9cdaa5f84434cc3c5ba58fec94b84fdab (patch) | |
tree | 6ac561ef50b7fa62a8462273fd0983231b275dcf /source/gameengine/Physics/Sumo | |
parent | 83907fc5f73b6634239d891fe2b0dd4be203b86b (diff) |
Delete all SOLID shapes at the end of the game engine. They were all being leaked!
Diffstat (limited to 'source/gameengine/Physics/Sumo')
-rw-r--r-- | source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp b/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp index c6134bde8f8..e905459ce21 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp +++ b/source/gameengine/Physics/Sumo/Fuzzics/src/SM_FhObject.cpp @@ -46,6 +46,7 @@ SM_FhObject::SM_FhObject(DT_ShapeHandle rayshape, MT_Vector3 ray, SM_Object *par SM_FhObject::~SM_FhObject() { + DT_DeleteShape(getShapeHandle()); } DT_Bool SM_FhObject::ray_hit(void *client_data, |