]> git.localhorst.tv Git - blank.git/blobdiff - src/ai/Spawner.cpp
textures
[blank.git] / src / ai / Spawner.cpp
index 612c3ccdadec7000ee427ce1003385f2013e0769..b0b9bcb5127575cc0b254105ec669ed80216d274 100644 (file)
@@ -105,7 +105,7 @@ void Spawner::Spawn(const glm::ivec3 &chunk, const glm::vec3 &pos) {
        e.Position(chunk, pos);
        e.Bounds({ { -0.5f, -0.5f, -0.5f }, { 0.5f, 0.5f, 0.5f } });
        e.WorldCollidable(true);
-       e.SetShape(world.BlockTypes()[1].shape, color);
+       e.SetShape(world.BlockTypes()[1].shape, color, 2);
        e.AngularVelocity(rot);
        Controller *ctrl;
        if (rand() % 2) {