Source

pygame / src / pgWorldObject.c

Diff from to

File src/pgWorldObject.c

         for(i = 0; i < contact_cnt; ++i)
         {
             contact = (PyJointObject*)(PyList_GetItem(world->contactList, i));
-            JointObject_SolveConstraintVelocity (contact, step);
+            JointObject_SolveConstraints (contact, step);
         }
     }
 }
     {
         joint = (PyJointObject*)(PyList_GetItem(world->jointList,i));
         //what happened here?
-        if (joint->SolveConstraintVelocity)
+        if (joint->SolveConstraints)
         {
-            JointObject_SolveConstraintVelocity (joint, stepTime);
+            JointObject_SolveConstraints (joint, stepTime);
         }
-        /*if (joint->SolveConstraintPosition)
-          {
-          joint->SolveConstraintPosition(joint,stepTime);
-          }*/
     }
 }