Commit 186160b9 authored by Pierre TESSIER's avatar Pierre TESSIER

Fixed AI spawn bug

parent cac8be71
......@@ -347,7 +347,7 @@ void scene_model::createAI(std::map<std::string, GLuint>& shaders, const int nbA
EntityBuilder builder{ m_ecs, m_resources };
std::mt19937 gen(m_rd());
std::uniform_real_distribution<float> dis(0.0f, 1.0f);
std::uniform_real_distribution<float> dis(0.05f, .95f);
for (int i = 0; i < nbAI; i++)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment