Fix merge fail

This commit is contained in:
Lynix 2016-10-13 08:33:15 +02:00
parent 1fdda6b07c
commit 634b67be56
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ namespace Ndk
EntityList m_dynamicObjects; EntityList m_dynamicObjects;
EntityList m_staticObjects; EntityList m_staticObjects;
std::unique_ptr<Nz::PhysWorld3D> m_world; ///TODO: std::optional (Should I make a Nz::Optional class?) mutable std::unique_ptr<Nz::PhysWorld3D> m_world; ///TODO: std::optional (Should I make a Nz::Optional class?)
}; };
} }

View File

@ -41,11 +41,11 @@ namespace Ndk
{ {
} }
void PhysicsSystem::CreatePhysWorld() const void PhysicsSystem3D::CreatePhysWorld() const
{ {
NazaraAssert(!m_world, "Physics world should not be created twice"); NazaraAssert(!m_world, "Physics world should not be created twice");
m_world = std::make_unique<Nz::PhysWorld>(); m_world = std::make_unique<Nz::PhysWorld3D>();
} }
/*! /*!