Fix issue in the broad-phase pair manager

This commit is contained in:
Daniel Chappuis 2013-11-21 23:26:19 +01:00
parent 1812402617
commit d622e2ff17

View File

@ -273,7 +273,7 @@ inline BodyPair* PairManager::findPair(bodyindex id1, bodyindex id2) const {
uint hashValue = computeHashBodies(id1, id2) & mHashMask;
// Look for the pair in the set of overlapping pairs
lookForAPair(id1, id2, hashValue);
return lookForAPair(id1, id2, hashValue);
}
// Find a pair given two body IDs and an hash value.