fix mangled if

This commit is contained in:
Seth Alves 2015-04-23 09:13:18 -07:00
parent 9e96026c52
commit 10e5378396

View file

@ -410,9 +410,9 @@ void PhysicsEngine::computeCollisionEvents() {
entityMotionStateB->setShouldClaimSimulationOwnership(true);
}
if (entityB->getSimulatorID() == myNodeID ||
entityMotionStateA->getShouldClaimSimulationOwnership() ||
entityMotionStateB->getShouldClaimSimulationOwnership() ||
objectB == characterCollisionObject) {
entityMotionStateB->setShouldClaimSimulationOwnership(true);
entityMotionStateA->setShouldClaimSimulationOwnership(true);
}
}
}