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