X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FWorld.cpp;h=e8b665c992366ca2b5f2ecc0efd63447a2f8d73d;hb=549646ac3e5bede5e77031f773649edf8de83608;hp=dc078189fdc494ab98bbb8dc93aeb4c12a565809;hpb=e24b4ec1a0fb3ba58a8ea67cd8d8affe3c5a0a71;p=blank.git diff --git a/src/world/World.cpp b/src/world/World.cpp index dc07818..e8b665c 100644 --- a/src/world/World.cpp +++ b/src/world/World.cpp @@ -234,7 +234,7 @@ Chunk &World::PlayerChunk() { return chunks.ForceLoad(player->ChunkCoords()); } -Chunk &World::Next(const Chunk &to, const glm::tvec3 &dir) { +Chunk &World::Next(const Chunk &to, const glm::ivec3 &dir) { const Chunk::Pos tgt_pos = to.Position() + dir; return chunks.ForceLoad(tgt_pos); }