X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2FSpawner.cpp;h=3433d0a8a0b2a2602ee44f7eab6b7effb6a2c1c9;hb=20d0a76d2519c71009c3b3babec0df27529f8142;hp=2c5a94ca117e0d4c94175d4484a0eddeaef11f82;hpb=c2bf905f4b9863fe0f5c876ed00fe298cb95ab6b;p=blank.git diff --git a/src/ai/Spawner.cpp b/src/ai/Spawner.cpp index 2c5a94c..3433d0a 100644 --- a/src/ai/Spawner.cpp +++ b/src/ai/Spawner.cpp @@ -120,7 +120,7 @@ void Spawner::TrySpawn() { Spawn(player.GetEntity(), spawn_block.GetChunk().Position(), spawn_block.GetBlockCoords()); } -void Spawner::Spawn(Entity &reference, const glm::ivec3 &chunk, const glm::vec3 &pos) { +void Spawner::Spawn(Entity &, const glm::ivec3 &chunk, const glm::vec3 &pos) { Entity &e = world.AddEntity(); e.Position(chunk, pos); e.Bounds({ { -0.5f, -0.5f, -0.5f }, { 0.5f, 0.5f, 0.5f } });