diff options
| author | Mel <einebeere@gmail.com> | 2022-10-21 17:46:35 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-21 17:46:35 +0200 |
| commit | 20c53c7473fc6cc08944f502f078dfe57bcae1c9 (patch) | |
| tree | 7e6b09cea68251d4564a363c1a372d6daf746dcf /src/World/Generator.cpp | |
| parent | 6ed978051668c08f5a957c97570f364dd580c807 (diff) | |
| download | meowcraft-20c53c7473fc6cc08944f502f078dfe57bcae1c9.tar.zst meowcraft-20c53c7473fc6cc08944f502f078dfe57bcae1c9.zip | |
Broken infinite world
Diffstat (limited to 'src/World/Generator.cpp')
| -rw-r--r-- | src/World/Generator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World/Generator.cpp b/src/World/Generator.cpp index d7bb038..757abf2 100644 --- a/src/World/Generator.cpp +++ b/src/World/Generator.cpp @@ -2,8 +2,8 @@ namespace MC::World { -Chunk Generator::generate(uint32_t _x, uint32_t _y) { - Chunk chunk; +Chunk Generator::generate(int64_t chunk_x, int64_t chunk_y) { + Chunk chunk(chunk_x, chunk_y); for (int y = 0; y < CHUNK_HEIGHT; y++) { BlockType type = BlockType::Air; |
