diff --git a/src/ECS/Systems/Systems.cpp b/src/ECS/Systems/Systems.cpp index 0f959ff1..80f85d77 100644 --- a/src/ECS/Systems/Systems.cpp +++ b/src/ECS/Systems/Systems.cpp @@ -66,7 +66,7 @@ namespace Systems { Registry::components arrCollisionRect = Registry::getInstance().getComponents(); - std::size_t id = *itIds; + std::size_t id = *itIds; Types::Position entityPos = arrPosition[id]; Types::CollisionRect entityColl = arrCollisionRect[id];