mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 09:45:32 +00:00
Keep physics engines until physics code is moved out of OEngine.
This commit is contained in:
parent
c6a2461fbd
commit
998982b16a
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@ namespace CSVWorld
|
||||||
|
|
||||||
PhysicsSystem::~PhysicsSystem()
|
PhysicsSystem::~PhysicsSystem()
|
||||||
{
|
{
|
||||||
delete mEngine;
|
// FIXME: OEngine does not behave well when multiple instances are created
|
||||||
|
// and deleted, sometimes resulting in crashes. Skip the deletion until the physics
|
||||||
|
// code is moved out of OEngine.
|
||||||
|
//delete mEngine;
|
||||||
}
|
}
|
||||||
|
|
||||||
// looks up the scene manager based on the scene node name (inefficient)
|
// looks up the scene manager based on the scene node name (inefficient)
|
||||||
|
|
Loading…
Reference in a new issue