1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-11 09:36:37 +00:00

Keep physics engines until physics code is moved out of OEngine.

This commit is contained in:
cc9cii 2014-11-01 21:04:53 +11:00
parent c6a2461fbd
commit 998982b16a

View File

@ -22,7 +22,10 @@ namespace CSVWorld
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)