diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-06-17 18:41:00 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-06-17 18:41:00 +0400 |
commit | 06bf1cddeca3f4c7d9504439c9b0ef2e00fab32e (patch) | |
tree | 37ca9a8f2d7637e15c7e674420cf3807393abd80 | |
parent | 292ef64e3eb2c48fac599a84904841087becfdb7 (diff) |
Bulllet bugfix, assignment rather then test
-rw-r--r-- | extern/bullet/Bullet/CollisionDispatch/CollisionDispatcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extern/bullet/Bullet/CollisionDispatch/CollisionDispatcher.cpp b/extern/bullet/Bullet/CollisionDispatch/CollisionDispatcher.cpp index d50624cc5fb..ba2859e77d8 100644 --- a/extern/bullet/Bullet/CollisionDispatch/CollisionDispatcher.cpp +++ b/extern/bullet/Bullet/CollisionDispatch/CollisionDispatcher.cpp @@ -139,7 +139,7 @@ void CollisionDispatcher::BuildAndProcessIslands(CollisionObjectArray& collision for (i=0;i<numBodies;i++) { CollisionObject* colObj0 = collisionObjects[i]; - if (colObj0->m_islandTag1 = islandId) + if (colObj0->m_islandTag1 == islandId) { if (colObj0->GetActivationState()== ACTIVE_TAG) { @@ -177,7 +177,7 @@ void CollisionDispatcher::BuildAndProcessIslands(CollisionObjectArray& collision for (i=0;i<numBodies;i++) { CollisionObject* colObj0 = collisionObjects[i]; - if (colObj0->m_islandTag1 = islandId) + if (colObj0->m_islandTag1 == islandId) { colObj0->SetActivationState( ISLAND_SLEEPING ); } @@ -191,7 +191,7 @@ void CollisionDispatcher::BuildAndProcessIslands(CollisionObjectArray& collision for (i=0;i<numBodies;i++) { CollisionObject* colObj0 = collisionObjects[i]; - if (colObj0->m_islandTag1 = islandId) + if (colObj0->m_islandTag1 == islandId) { if ( colObj0->GetActivationState() == ISLAND_SLEEPING) { |