diff --git a/src/Game/GameSystems.cpp b/src/Game/GameSystems.cpp index 3bbd78c6..4254fc7a 100644 --- a/src/Game/GameSystems.cpp +++ b/src/Game/GameSystems.cpp @@ -123,7 +123,7 @@ namespace Systems { static std::size_t clockId = clock.create(true); static bool fstCall = true; auto jsonVector = Json::getInstance().getDatasByJsonType(ResourcesManager::getPathByJsonType(JsonType::WAVE), {"wave", "positions"}); - Types::Position jsonPos(0, 0); + Types::Position jsonPos = {0, 0}; Registry::components &bossArr = Registry::getInstance().getComponents(); Registry::components &enemyArr = Registry::getInstance().getComponents();