update ChunksStorage

This commit is contained in:
MihailRis
2024-12-11 16:30:19 +03:00
parent 91fa2838d6
commit 436bfd24ba
6 changed files with 46 additions and 44 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ void Hud::updateWorldGenDebugVisualization() {
data[(flippedZ * width + x) * 4 + 1] =
level.chunks->getChunk(ax + ox, az + oz) ? 255 : 0;
data[(flippedZ * width + x) * 4 + 0] =
level.chunksStorage->get(ax + ox, az + oz) ? 255 : 0;
level.chunksStorage->fetch(ax + ox, az + oz) ? 255 : 0;
if (ax < 0 || az < 0 ||
ax >= areaWidth || az >= areaHeight) {