summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/BulletSoftBody/btSoftBody.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BulletSoftBody/btSoftBody.cpp b/src/BulletSoftBody/btSoftBody.cpp
index 933f3edc5..e91c1b9a4 100644
--- a/src/BulletSoftBody/btSoftBody.cpp
+++ b/src/BulletSoftBody/btSoftBody.cpp
@@ -3897,7 +3897,7 @@ void btSoftBody::PSolve_RContacts(btSoftBody* psb, btScalar kst, btScalar ti)
btVector3 va(0, 0, 0);
btRigidBody* rigidCol = 0;
btMultiBodyLinkCollider* multibodyLinkCol = 0;
- btScalar* deltaV;
+ btScalar* deltaV = NULL;
if (cti.m_colObj->getInternalType() == btCollisionObject::CO_RIGID_BODY)
{