From 6cc18e05aac61a6302fb51cb3a03eb06e887bbca Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Tue, 6 May 2008 02:57:27 +0000 Subject: [PATCH] initialize Element m_tag to zero --- src/BulletSoftBody/btSoftBody.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/BulletSoftBody/btSoftBody.h b/src/BulletSoftBody/btSoftBody.h index 4b3e39089..40dc3974c 100644 --- a/src/BulletSoftBody/btSoftBody.h +++ b/src/BulletSoftBody/btSoftBody.h @@ -162,6 +162,10 @@ public: struct Element { void* m_tag; // User data + Element() + { + m_tag=0; + } }; /* Material */ struct Material : Element