need to fix an issue, before making the paircache change.

This commit is contained in:
erwin.coumans
2008-03-14 01:20:23 +00:00
parent 06a9b3dfc9
commit 9a19b66659
6 changed files with 46 additions and 150 deletions

View File

@@ -227,7 +227,7 @@ m_invalidPair(0)
if (!m_pairCache)
{
void* ptr = btAlignedAlloc(sizeof(btOverlappingPairCache),16);
m_pairCache = new(ptr) btHashedOverlappingPairCache();
m_pairCache = new(ptr) btOverlappingPairCache();
m_ownsPairCache = true;
}