EntityTree gtts PhysicsWorld*, with less error

This commit is contained in:
Andrew Meadows 2014-11-13 10:12:52 -08:00
parent ebe24b5c4c
commit 7f46ac0935

View file

@ -2012,7 +2012,7 @@ void Application::init() {
#ifdef USE_BULLET_PHYSICS
_physicsWorld.initSafe(_entities.getTree());
_entities.setPhysicsWorld(*_physicsWorld);
_entities.getTree()->setPhysicsWorld(&_physicsWorld);
#endif // USE_BULLET_PHYSICS
}