From 31a88b386f30720bcad60911a1c92afc90dd243f Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Tue, 5 Feb 2008 06:35:25 +0000 Subject: [PATCH] error C2086: 'j' : redefinition --- Extras/quickstep/OdeConstraintSolver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extras/quickstep/OdeConstraintSolver.cpp b/Extras/quickstep/OdeConstraintSolver.cpp index d62c63402..925d3c48f 100644 --- a/Extras/quickstep/OdeConstraintSolver.cpp +++ b/Extras/quickstep/OdeConstraintSolver.cpp @@ -73,9 +73,10 @@ btScalar OdeConstraintSolver::solveGroup(btCollisionObject** bodies,int numBulle m_CurBody = 0; m_CurJoint = 0; m_CurTypedJoint = 0; + int j; int max_contacts = 0; /// should be 4 //Remotion - for (int j=0;jgetNumContacts() > max_contacts) max_contacts = manifold->getNumContacts(); } @@ -98,7 +99,6 @@ btScalar OdeConstraintSolver::solveGroup(btCollisionObject** bodies,int numBulle //capture contacts - int j; int body0=-1,body1=-1; for (j=0;j