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:
parent
6c15aec5e4
commit
8affa30ff1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue