1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-03 18:15:33 +00:00

magic commit that fixe the crash when activating collision after changing cell.

To be faire, this commit should break the collision system... there must be something I don't understand with bullet ghost objects :p
This commit is contained in:
gugus 2012-02-06 23:15:19 +01:00
parent 6c15aec5e4
commit 8affa30ff1

View file

@ -157,7 +157,7 @@ namespace Physic
//TODO: memory leak?
btOverlappingPairCache* pairCache = new btSortedOverlappingPairCache();
pairCache->setInternalGhostPairCallback( new btGhostPairCallback() );
//pairCache->setInternalGhostPairCallback( new btGhostPairCallback() );
broadphase = new btDbvtBroadphase(pairCache);