]> git.localhorst.tv Git - blank.git/blobdiff - src/world.cpp
use same load distance for initial and movement
[blank.git] / src / world.cpp
index 40dd6bdfc578ffaa22af252f3b242f7978ea8f87..30e92297d7402d4b040f09eebc9053b872d1052f 100644 (file)
@@ -109,7 +109,7 @@ World::World(unsigned int seed)
        player = &AddEntity();
        player->Position({ 4.0f, 4.0f, 4.0f });
 
-       chunks.Generate({ -4, -4, -4 }, { 5, 5, 5});
+       chunks.GenerateSurrounding(player->ChunkCoords());
 }