remove extra functions

This commit is contained in:
MihailRis
2024-08-10 05:48:05 +03:00
parent 93fac9960c
commit a7d6c96a5c
4 changed files with 56 additions and 81 deletions
+1 -1
View File
@@ -656,7 +656,7 @@ void Chunks::translate(int32_t dx, int32_t dz) {
}
for (uint32_t z = 0; z < d; z++) {
for (uint32_t x = 0; x < w; x++) {
auto chunk = chunks[z * w + x];
auto& chunk = chunks[z * w + x];
int nx = x - dx;
int nz = z - dz;
if (chunk == nullptr) continue;