...
 
Commits (2)
Subproject commit 96bb59de97e5fbb60e55411791bdab27e9e0d7c7
Subproject commit 561cce1422d48bb177f5d1a909f4b1798c1faa93
diff --git a/scenes/3D_graphics/01_modeling/others/entity_builder.cpp b/scenes/3D_graphics/01_modeling/others/entity_builder.cpp
index d4338e3..179ecfb 100644
--- a/scenes/3D_graphics/01_modeling/others/entity_builder.cpp
+++ b/scenes/3D_graphics/01_modeling/others/entity_builder.cpp
@@ -95,7 +95,7 @@ ecs::Entity EntityBuilder::buildPlayer(vcl::vec3 const& position, std::map<std::

ecs::Entity EntityBuilder::buildAICharacter(ecs::Entity const target, vcl::vec3 const& position, std::map<std::string,GLuint>& shaders)
{
- auto& hierarchyPair = m_resources.AIHierarchyPool.getFreeElement();
+ auto hierarchyPair = m_resources.AIHierarchyPool.getFreeElement();
auto& hierarchy = hierarchyPair.first;
ecs::Entity ai = buildCharacter(m_resources.standardCharacter, hierarchy, position, shaders);
m_ecs.add<CharacterDesignComponent>(ai, 3.0f, 1.0f);
diff --git a/scenes/3D_graphics/01_modeling/systems/health_system.hpp b/scenes/3D_graphics/01_modeling/systems/health_system.hpp
index 4a66978..5733e03 100644
--- a/scenes/3D_graphics/01_modeling/systems/health_system.hpp
+++ b/scenes/3D_graphics/01_modeling/systems/health_system.hpp
@@ -11,7 +11,7 @@ struct HealthSystem
{
public:
void update(MyEcs& myEcs, RayComponent& ray);
- void HealthSystem::destroyDeadCharacter(MyEcs& myEcs, CommonSceneResources& ressources, int& score, int& nbAI);
+ void destroyDeadCharacter(MyEcs& myEcs, CommonSceneResources& ressources, int& score, int& nbAI);

using Requirements = ecs::Requirements<ecs::Auto>;
using UpdatePolicy = ecs::OncePerEntity;
diff --git a/simplecspp b/simplecspp
index 96bb59d..561cce1 160000
--- a/simplecspp
+++ b/simplecspp
@@ -1 +1 @@
-Subproject commit 96bb59de97e5fbb60e55411791bdab27e9e0d7c7
+Subproject commit 561cce1422d48bb177f5d1a909f4b1798c1faa93